Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

COMMENT YOUR GOD DAMN CODE

Name: Anonymous 2010-06-15 11:46

Hi.

It has come to my attention that you faggots need to learn to comment your code. I'm looking at you, C fags, with your unreadable declarations.

char (*(*imafaggot)[])();

Tell me what this is and you win a prize.

Programs should be written for people to read, and only incidentally for machines to execute. - SICP 101

Name: Anonymous 2012-01-12 6:47

I don't write spaghetti code.
I don't write inconsistent crap.
My code is correct and behaves as it should in all the cases.
Special cases are a sin.
My naming convention documents whether the procedure is destructive, a predicate, or pure, and whether a variable is mutable, dynamic, or constant.
My code is self-documenting, I write comments only when the implementation or interface is not completely obvious. When it happens, especially in the interface, I take it as a failure of mine for not being able to do The Right Thing.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List