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

foreache

Name: Anonymous 2014-01-20 18:58

what is you're opinion on foreache loops?

i don't like em cuz they ache in the fore

Name: Anonymous 2014-01-24 0:54

>>34
You store it alongside your data, perhaps in a struct. That's kind of what they are for: grouping associated data together.

When you concatenate lists together, you add the lengths. Come on, give me the punchline already.

Name: Anonymous 2014-01-24 1:15

>>49
Let me rephrase:

some_list = make_list(1, 2, 3, 4, 5, 6, 7, 8);
tail = nth_tail(some_list, 4);
append(tail, make_list(9, 10, 11, 12));

How will append also update the length of some_list, as it needs to do?

Name: Anonymous 2014-01-24 1:17

Your second statement is correct in the real world.
>>12
Actually, your second statement might not be correct.

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