4 ms·
I work with many developers who don't speak English as a first language and they find things in JavaScript like .filter to be hard to grasp, but .Where in C# ma
by andyp-kw 6y ago
I work with many developers who don't speak English as a first language and they find things in JavaScript like .filter to be hard to grasp, but .Where in C# makes perfect sense to them because they understand that they're looking for something in a list "Where" their conditions are met.
That's just one example of things in JavaScript that are poorly named for people to guess what they do.
- naniwaduni 6y agoThe opposite, actually. "filter" is just a verb you can look up in a dictionary and roughly understand its meaning. "Where" is grammatical and hard to grasp without a holistic understanding of English grammar. Linguistic Moravec paradox, if you will. Now, explaining Ruby's collect/detect/inject/select/reject, that's a whole different matter...
- andyp-kw 6y agoI don't care what it says in the dictionary, I'm going on real life cases from my colleagues in SEA who don't speak English as a first language.