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

What stirs your rage, /prog/?

Name: Anonymous 2013-09-14 1:07

Mine are people who do this on C-like languages:
if(numbers==NULL)
{
numbers=temp;
numbers->next=NULL;
}
else
{
temp2=numbers;
while(temp2!=NULL)
{
var=temp2;
temp2=temp2->next;
}
temp2=temp;
var->next=temp2;
temp2->next=NULL;
}


No spaces between operators.
Opening brace on lines by themselve.
Else statement not a continuation of the if-statement it belongs to
Terse variable.
camelCase

Name: Anonymous 2013-11-10 11:23

I HATE LINKED LISTSSSSSS SO MUCH. ESPECIALLY DOUBLY LINKED LISTS. I DONT KNOW WHY THE FUCK WOULD ANYONE WANT TO USE LINKED LISTS EVER. ALSO I HATE PEOPLE USING K&R STYLE.

Name: Anonymous 2013-11-12 5:35

>>74
People want to dynamically allocate space for data without having to pre-allocate space for the data after the program is compiled.

Name: Anonymous 2013-11-12 6:06

>>75
Dynamically allocating data is always a code smell. Doing it for one element at a time is just absurd.

Linked lists are always the wrong data structure.

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