[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

for(;;){} vs while(1){}

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 25
Thread images: 1

for(;;){} vs while(1){}
>>
>>57068382
Typical low quality tylor shit poster
>>
>not a do loop
>not tail recursive function calls
>not GOTO
pleb
>>
>>57068626
You fags will argue about anything.
>>
>>57068916

no we won't
>>
>>57068452
Taylor is /g/'s queen. Get over it, fag.
>>
>>57068930
Yes we will
>>
>>57068382
>for(;;){}

looks sad

>while(1<3u){}

much better
>>
>>57068954
That's exactly what makishitters keep talking to themselves, dipshit
>>
>>57068981
Exactly, they are delusional idiots.
>>
>>57069008
Just like you
>>
>>57069064
Just like you
>>
>>57068382
loop
-- ...
end loop;
>>
>>57068930
>>57068958
This isn't an argument, it's just contradiction!
>>
>>57070399
no its not
>>
>>57068382
#define EVER ;;

for (EVER) {}

>?????
>profit
>>
>>57068382
for(;;) because there arent magical numbers
>>
If your language spec doesn't support map/reduce, it's shit.
>>
(op == faggit) ? (shitpost()) : (shitpostHarder()) ;
>>
Most of the patches I see from respectable devs on the kernel mailing list use the for(;;){}. We're splitting hairs here but we're all autistic anyways
>>
>>57068382
foreach loops
>>
loop:
if(i <= 100) {
printf("%d\n", i);
i++;
goto loop;
}

:::.-------DDDDDDDDDDDDDDDDDDDD
>>
>>57071184
That's how WHILE loops were doe before they were invented, nigga
>>
>>57068626
do loops are shit style and are hard to read

for(;;) is correct here since it can be read as "forever"
>>
10 print op is a faggot
20 goto 10
Thread posts: 25
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.