[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]

This is valid C# code.

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: 26
Thread images: 2

File: this_is_valid_c_sharp.png (19KB, 466x694px) Image search: [Google]
this_is_valid_c_sharp.png
19KB, 466x694px
This is valid C# code.
>>
What's the problem? Looks like almost any block scoped language.
>>
>>60083186
Also valid Java code
>>
>>60083186
This is literally valid code in any language
>>
File: 1472487001942.jpg (100KB, 711x681px) Image search: [Google]
1472487001942.jpg
100KB, 711x681px
>>60083186
c# is not going to prevent you from writing retard code.
>>
This is valid in any language

do {
} while (true);


What the fuck /g/? How can programs be allowed to seppuku like this?
>>
this is also valid:

x = 1;

cout << 1/--x;

wtf C is garbage.
>>
int main() {
return main();
}


This is valid C code.
>>
>>60083186
this almost comes off as an endorsement for the language if you can be so blindly retarded and write valid code
it's part of Microsoft's new autistic programmer outreach program
>>
>>60085517
because placing the -- before the variable does your operation before decrementing, you fucking nigger
>>
>>60085549
actually its the opposite, it decrements first then retrieves the value.
>>
>>60085484
>not doing
while(true) {

}
>>
>>60085484
Not valid in python
>>
>>60085565
>not doing
for(;true;)
{
}
>>
>>60085595
>not doing
for(;;);
>>
>>60085719
>not
start:
goto start;
>>
>>60085565
not doing
loop:

goto loop;
>>
>>60085765
(let loop ()
(loop))
>>
>>60083186
>Warning on every line.
Why even bother?
>>
>>60086117
> lisp
> kys the language
>>
>>60085565
>not knowing the difference between a while loop and a do while loop

It's like you don't know what you are talking about
>>
>>60085517
> wtf C is garbage
you wrote C++ mate
>>
>>60083186

async's pretty neat actually
>>
fn main() {
loop { }
}


Wtf I thought you faggots said Rust was safe?
>>
>just because you can do bad something in a language means it's bad by default
Do you also need your mommy to hold your hand while you cross the street?
>>
>>60085549
That's the joke.
Thread posts: 26
Thread images: 2


[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.