3 ms·
When someone gives you a sufficiently large codebase written by other people and asks why when they click A they get B, you have two options: 1. Read the code a
by gambler 13y ago
When someone gives you a sufficiently large codebase written by other people and asks why when they click A they get B, you have two options:
1. Read the code and try to reason about it.
2. Fire up the debugger and replicate user actions.
Guess what? Callbacks in JS make option #1 significantly harder, since they are, essentially, runtime weakly typed mechanism for code composition.
- pjmlp 13y agoThis is a common issue. I guess people that state they are fine with it, never worked on the typical enterprise codebases, done by several consulting firms along the years. When one works on their own code, or startup elite programmer style, everything is easy.