News for hackers. Stuff that matters.
Re:It's probably time to stop recommending Clean Code (2020) by haspok on Tuesday May 25, 2021 @12:09PM (#27278638)
> Write Code. Mostly functions. Not too much.

Think about data structures (types) first. Mostly immutable structures. Then add your functions working on those structures. Not too many.

Re:It's probably time to stop recommending Clean Code (2020) by throwaway2037 on Tuesday May 25, 2021 @01:53PM (#27279991)
OMG. This is exactly my experience after trying to write code first for 10+ years. (Yes, I am a terrible [car] driver, and a totally average programmer!)

"Bad programmers worry about the code. Good programmers worry about data structures and their relationships." - Linus Torvalds

He wasn't kidding!

And the bit about "immutable structures". I doubted for infinity-number-of-years ("oh, waste of memory/malloc!"). Then suddenly your code needs to be multi-threaded. Now, immutable structures looks genius!