Better HN
topnewbestaskshowjobs
Log inSign up

w4rtortle

1 karma · joined Jul 20, 2014 (12y ago) · 1 submissions

Submissions

comment 12y ago · link · parent

Commenting the purpose of every function just seems like a messy way of making up for the mistake that your functions are not written in a readable succinct fashion that can be easily understood.

I also think it encourages new developers to write messy functions and then think "that's ok I've described what it does in a comment above, so the next person will understand it anyway".