3 ms·
> The more ways there are to write in a language, the harder it gets to read the code of someone else using a different style guide, or with different preferenc
by de_keyboard 5y ago
> The more ways there are to write in a language, the harder it gets to read the code of someone else using a different style guide, or with different preferences, than you. This matters a whole lot in a language so completely dependent on 3rd party libraries as JS is.
Hmmm, kinda.
The pipe operator enables more readable code, so whilst I agree there would be more ways to do things, the average code readability could well go up.
- hungryforcodes 5y agoThis is what they said about fat arrow functions and that's only true in some cases.
- BigJono 5y agoThe average absolutely won't. The average dev misuses new language features. Every time one of these things is introduced, 90th percentile code gets cleaner and 50th percentile code gets worse.