What do you do when a new dev decides 4 spaces and double quotes are better than 2 spaces and single quotes, and changes them across the codebase? Neither change introduces anything meaningful, only a ton of garbage to sort through in the diff. Plain bad etiquette.
@freddier La mayoría de los programadores fundadores dejan de programar. Eso pasaba antes de la IA.
Presumir que dejaste de programar a mano es tan estúpido como presumir que dejaste de escribir a mano. La gente que lo ve como un flex no ha comprendido el da��o cognitivo que conlleva.
The button depends on the text box having a value. It is ok for it to need to know about its existence. The text box could happily live without ever knowing about the button.
This model feels backwards.
Is the event model in JS broken? Why can't you say Element A listens to even X on Element B?
This would allow independent elements to react to events on each other. For example, a button could activate itself if a text box received a value.
Instead, you need an orchestrator, which most of the time ends up being the EventTarget. For example, the text box listens for change events and enables or disables the button. This creates unwanted coupling because now the text box needs to know about the existence of the button
@AlbertoTICote Los contenedores son una idea estupenda que debería usarse únicamente en la fase de desarrollo. Para producción, Apache basta y sobra para la mayoría de los proyectos. Sólo que tendemos a sobreestimar esos proyectos.