I suppose that that extends in part to any C-style language, but the relative looseness of JavaScript really makes it stand out to me, for some reason.
I suppose that that extends in part to any C-style language, but the relative looseness of JavaScript really makes it stand out to me, for some reason.
It's a principle of pattern recognition[1] regardless of language, I suppose.
It just takes time to learn and internalize the patterns to look for -- and perhaps some languages and syntax highlighters are better than others at exposing those patterns to the reader.
[1] - https://en.wikipedia.org/wiki/Pattern_recognition_%28psychol...
Whenever I write in any other language, I feel totally fine with 1000+ LOC in single file but when it's js, the zeitgeist force me to put them into bunch of folders exporting from an index.ts
I can't put my fingers on it.
Maybe JS projects feels less solid or grounded sometimes ?