[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Where do you put your brackets /g/? I've always put the
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 30
Thread images: 4
File: B_CCZhuVEAAdXHg.png (66 KB, 597x255) Image search: [Google]
B_CCZhuVEAAdXHg.png
66 KB, 597x255
Where do you put your brackets /g/?

I've always put the opening bracket on the same line but I recently started doing that with the closing bracket as well and it looks very comfy
>>
>>54499046
I'm going to vomit.
;^(
>>
>>54499046
lmao dat autism
>>
>using brackets & semicolons

No. Just no.
>>
File: 1458724961527.webm (2 MB, 720x720) Image search: [Google]
1458724961527.webm
2 MB, 720x720
>>54499046
What the fuck
>>
>>54499046
This looks disgusting.

I use:

if (TRUE){
goto(OP_IS_A_FAGGOT);
}


And tabs of course.
>>
delete this shit.
>>
>>54499046
That looks like aids
>>
>>54499046
Based Allman style, of course.
>>
File: 1460933182215.jpg (1 MB, 4076x1376) Image search: [Google]
1460933182215.jpg
1 MB, 4076x1376
>>54499046
The fuck is this shit?
>>
>>54499046
This is a very good bait anon. I would like to rate it eight out of eight. If someone seriously does pic related, they and their families should be put down.
>>
Looks good to me.
>>
>>54499046
i know very little about programming but i can see that this is very 'wrong', and therefore so hated that it will attract trolls.
when trolls use this to troll, one day it will become a lolmemekek.
and even further down the line there will be kids using this for real.
i hope this is not pasta because then i can say i was there. i was there when this shit started. and i called it.
>>
>>54499046
if (!OPafagg){
check.again();
}
>>
File: wAQpOjS.png (55 KB, 534x344) Image search: [Google]
wAQpOjS.png
55 KB, 534x344
>>54501109
>>
>>54499046


function_name(parameters) {
body
}
>>
>>54499046
Best thing I've seen this week. Going to make a sublime plugin to do this.
>>
>>54499046
you could improve this by adding layers.
{
{
{
; }
{
{
;
;}}}
>>
>>54499046
int avg ( const int p, const int q )
{
return ( p + q ) / 2;
}
>>
>>54501190
;}
>>
>>54501149
shake you privy ledge
>>
>>54501149
triggered hard
>>
>>54501199
It's buggy
>>
>>54501190

>>54501200
sensible chuckle was had
>>
does this amuse you
>>
>>54501149
>Block.
>Block
how the fuck can someone be so inconsistent

>using assignment operators in if statement

does this bitch even know anything jesus christ
everything is going to be blocked now
>>
>>54501149
>if opafag is false, check again
that was fine
stop putting us down

#girlswhocode
#geekischic
#imwithher
>>
>>54501199
same here. Makes seeing where blocks start and end much easier than the crowd favourite:

int sameline() {
// stuff
}
>>
>>54499046
Oh jesus christ, nooooo
>>
>>54499046
And here I thought GNU style was the worst of all...
Thread replies: 30
Thread images: 4

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.