3 ms·
I loathe source code templates. To use web (newspaper?) terminology, it puts the content below the fold. It also raises the cost of factoring code out into its
by tophercyll 16y ago
I loathe source code templates. To use web (newspaper?) terminology, it puts the content below the fold.
It also raises the cost of factoring code out into its own file. Even a simple code header can easily be double the amount of code I consider worth extracting.
I know many IDEs add them automatically, so it doesn't feel like much of a cost to the writer, but as the reader, you pay it every time. Why waste brain power thinking "Ok, ignore everything above, this down here is the real source code"?
- j_baker 16y agoIn emacs, hs-hide-initial-comment-block works miracles. I'm sure other editors have ways to do that as well. (That said, I totally agree with you. I wouldn't use them at all if I wasn't forced to at work.)