Hacker News new | ask | show | jobs
by Clent 1197 days ago
Ignore advice on what not to do.

Listen to advice on how to accomplish tasks.

A carpenter does not study how not to hang a door.

Likewise, don't listen to advice on how not to write code.

1 comments

I don't think it's quite the same though... or at least I can make an argument for learning about ways not to do programming tasks because it generalizes.

There are patterns between ways not to do programming related things, e.g. use the single responsibility principle, use pure functions.

There are also so many ways to accomplish programming tasks, it's useful to be able to filter down that multitude of ways or notice "this stack overflow post has 5 bad patterns, maybe I shouldn't use it".