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

File: .png (140KB, 604x314px) Image search: [Google]
.png
140KB, 604x314px
.
>>
I guess Im a right winger then
>>
>>58010773
and the ones on left are retards
>>
>>58010773
Anyone who says right should have them and their families all drowned in cages one by one.
It's unacceptable java/android bullshit that should be eradicated from this earth.
>>
>>58010815
The hell are you talking about? Right is K&R C.
>>
>>58010815
>java/android
this is older than you you fucking edgy kid
>>
>>58010811
>>58010815
Diffrent peoples
>>
>>58010815

>C style on the right
you know you have to be 18 or older to browse these boards?
>>
>People who contribute and use whatever style the project uses
>People who don't contribute
>>
>>58010773
Right is better
Left is too many empty lines
>>
People who do left are generally
>light themed fags who enjoy hurting their eyes
>spaces over tabs
>>
>>58010815
Actually there are legitimates reasons to use the right style. The other is retarded and a meme.
>>
>>58011034
>legitimates reasons
elaborate
>>
>>58011059
it doesn't look fucking gay
>>
>>58011059
1
----2
----2
/1

vs

1
1 // ???
----2
----2
/1
>>
>>58010773
Left is c#
Right is Java
>>
I follow the official design guidelines for the language I'm using.
>>
>>58010773

Plot twist:
both are nice.

The left is rather C++ style, the advantage is you can place your comments in the line with the single bracket.

The rather is more common and my personal preference.
>>
>>58011072
Not the other guy but as brackets just hold statements I see it like this:

1
{
----2
----2
}

It's not a closing tag for the if statement it just defines what code the if statement runs.
>>
File: Screenshot - 151216 - 09:55:49.png (4KB, 378x104px) Image search: [Google]
Screenshot - 151216 - 09:55:49.png
4KB, 378x104px
>>58010773
>>
>>58010821
No. K&R's C had braces on new lines for functions only (because they cannot be nested.). I'm sick of people saying that the K&R style is the 1TBS. Thats is simply wrong.
>>
>>58011129
And everyone knows that C# is way better than Java.
>>
>>58011781
Nope, they're both equally cancer.
>>
condition
?
true
:false;
>>
>>58011803

This.

C# allows pajeet programming.
>>
>>58011807
E L I T I S T
L
I
T
I
S
T
>>
i tend to switch back and forth.
>>
>>58010773
I find that when I use the left style it's easier to scan through code and see where the different blocks are
Thread posts: 28
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.