News for hackers. Stuff that matters.
Re:The most copied StackOverflow snippet of all time is flaw... by klyrs on Wednesday June 16, 2021 @09:00PM (#27535203)
> Write your code for junior devs in their first week at your company, not for academic journals.

Hard and fast rules about coding style are silly. There's a time and place for clever code, and there's a time and place for verbose and straightforward code.

I write performance-critical code. Juniors shouldn't be mucking about there, because it's performance critical. I also write non-performance-critical code with some effort. I write that stuff for the juniors.

When writing for academic journals, it looks like the stuff I write for juniors. I'll drop a hint here or there so experts can reproduce less-obvious optimizations.

There are no comments on this comment yet.