Ask HN: Should beginner programmers use code formatters from day one?
I taught JavaScript awhile back and I regret not using prettier from day one. I think using a formatter lets new learners focus on the tricker parts of the language rather than the style thereof.
7 comments
[ 2.6 ms ] story [ 17.9 ms ] threadNo, programmers should start with the simplest tools and learn on concrete examples why and what for the more complex ones are needed (or that they are completely redundant and unnecessary).
(Reading/modifying nicely-written code is a good exercise to try early on, though...)
I'm somewhat alarmed about how ubiquitous these formatting tools have become. Seems like a step towards stamping out any trace of individuality, and making programming an assembly-line job rather than a craft.
Formatter, editor, etc. should remain a personal choice.