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

Top stupidest programming polemics

Name: Anonymous 2013-05-22 21:46

1. Gotos considered evil
For too long, schools have been successfully spreading the fallacy that gotos should never be used. Whenever I write code for someone and I use a goto, someone always complain:
"Man, you used gotos to [Handle errors/Break out of multiple loops/we]"
So knowing usually the kind of people I'm dealing with I respond:
"Why?"
But people always fail to know the real reason gotos used to be bashed on:
"They're just evil..."

2. Tabs vs. Spaces for indentation
Everyone using a real text editor knows that tabs are by far superior to spaces. There are easily at least five times more reasons to use tabs than to use spaces. Even worse than that, the reason I hear the most often to use spaces is that "tabs don't have the same number of spaces in text editors" while IT IS THE WHOLE FUCKING IDEA OF USING TABS, ANYONE CAN SEE AS MANY SPACES AS THEY WANT.


3. Global variables are bad

No. Just like gotos, they are when idiots don't know when to use them.

Name: L. A. Calculus !!wKyoNUUHDOmjW7I 2013-05-23 7:40

>>1
4. pointers into string literals must be assigned to const-qualified pointers to char

5. gets is unsafe and should never be used

6. recursion iz bad to use in C cuz (it's slow; it blows up DA 'STACK'; my C implementation's a piece of shit)

7. I CAN USE C PORTABLY WITHOUT REEDIN DA FUCKIN STANDARD.

>>4
GO SUCK EDSGER DIJKSTRA'S DIJK U FUCKIN RETOID.

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