Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think it’s reasonable to expect engineers to be able to learn how .reduce works. It’s part of JavaScript, after all.

If a new hire doesn’t know (a junior dev, or someone without experience in JS/Scala/etc.), an hour of reading plus coding exercises should be plenty to get them up to speed (if it’s not, that would be a red flag to me, and could be a sign of poor performance to come in other areas, too).



The distinction isn't “can possibly learn” but “can clearly and immediately understand while doing the real work”. It's one thing to sit down and play around with alternate styles, code golfing, etc. but for production work it's usually best to pick the most understandable way to reduce the cognitive overhead so when someone is making a change, debugging, profiling, etc. they're not instead spending time decoding the clever trick their predecessor (possibly them six months ago) used.

This is particularly true with religiously following functional style in languages which weren't designed from the ground up to work that way. The results usually take more time to understand and are often slower because the runtime is not as optimized for uncommon styles.


Readability isn't the same thing as learnability.


Our reasonsing wasn't "I don't expect them to be able to learn" as much as "it doesn't seem to be worth the extra effort to have them learn this skill". For us, reduce didn't make code more performant, readable or maintanable, so if felt a bit like shooting ourselves in the foot in a search of "purity".


As a freelancer, I go from comoanies to companies. Most of the dev I worked with were not 10x. Not even average HN level.

You gotta deal with reality at some point.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: