News for hackers. Stuff that matters.
Re:Get Rid of Source Code Templates by tophercyll on Sunday April 04, 2010 @09:12AM (#1240109)
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"?

Re:Get Rid of Source Code Templates by j_baker on Sunday April 04, 2010 @02:20PM (#1240554)
In 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.)