3 ms·
Yes, it is quite normal in companies with good code-review policies. I review code, not its author. As far as writing functioning code without understanding sc
by jkaptur 11y ago
Yes, it is quite normal in companies with good code-review policies. I review code, not its author.
As far as writing functioning code without understanding scope and closure, a lot of JavaScript is written in a way that just doesn't require deep knowledge of the language. For example, take [1]. It certainly requires some JS knowledge to understand its purpose, but, at the same time, I'd feel comfortable assigning a new-to-JS programmer a task like "give each callback a custom string that's printed out when it's called." and expecting him or her to complete it.
[1] https://github.com/facebook/react/blob/master/src/shared/utils/CallbackQueue.js https://github.com/facebook/react/blob/master/src/shared/uti...