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-17 22:39

>>87
Implement a double ended priority queue using linked lists. Removal of both ends must be O(1).

Tsk.

Name: Anonymous 2013-11-17 23:43

>>92
It's an implication, not an explicit statement. You didn't say ``i could make a file system using linked lists and still make it O(1)'', but it can be inferred from your statement.

I'm not using the imagereddits maymay, why do you work under such assumption? I thought we trusted each other.

Now that you said you really meant that, go ahead and implement that priority deque using just cars and cudders. It would better be fast, nigger.

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