[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: 73
Thread images: 5

File: aRQneE2_700b.jpg (9KB, 456x324px) Image search: [Google]
aRQneE2_700b.jpg
9KB, 456x324px
.
>>
>>58583885
if Condition then 
Faggot(OP);
end if;
>>
>>58583885
What a waste of space. Just put it on one line.
>>
>>58583906
>thinks semicolons are statement separators in BASIC
>>
>>58583885
>aRQneE2_700b.jpg
http://images-cdn.9gag.com/photo/aRQneE2_700b.jpg
Huh. Who would have guessed?
>>
M(A)B(P("Hello World!");R(0))
>>
>>58583885
First for c/c++, latter for java. Or, you know, just use what the project team is using.
>>
>>58583946
> Basic
>>
File: bubs.jpg (12KB, 420x352px) Image search: [Google]
bubs.jpg
12KB, 420x352px
>>58584052
>>58584021
>>58583999
>>58583967
>>58583946
>>58583911
>>58583906
>>58583885

>>>/reddit/
>>
>>58583885
Second one

Less lines much faster compile
>>
>>58584091
>>58584103
>>>/trash/
>>
>>58583885

Used to be adament that the first was best; but started doing the second to actually try it out instead of just saying it's wrong and now I think it may be superior.
>>
>>58584474
Fun fact there is no advantage to either one and any one who's adamant about it is wrong.
>>
>>58583885
the first one messes with my OCD
>>
>>58583885
I was taught the second
>>
File: ATbDcWH.jpg (154KB, 745x1120px) Image search: [Google]
ATbDcWH.jpg
154KB, 745x1120px
>>58583885
what the hell does this mean you fucking techieeeeeeeeeeeeees
>>
>>58583885
if Condition:
Statements


Python simplicity ftw.
>>
>>58584735
So Republicans were the nigger lovers all along
>>
>There are 10 kinds of people
>Those who pick style 1
>Those who pick style 2
>And those who actually conform to the standards of the language and don't have some autismal irrelevant preference
>>
>>58584813
well yea. dems are still the party of slavery. just look at how they argue for illegal immigration. who will clean your toilets who will pick your cash crops?
>>
>>58583885
Always left.
>>
>>58583885
if [[ OP = true ]]; then
faggot
fi
>>
>>58584836
They have a point though
>>
Second, I hate seeing the first one
>>
if ( 2>1)
{ do something
something else
}


get at me faggot
>>
>>58583885
if Condition then
Faggot(OP);
end if;
>>
innies and outies, both are perfectly normal
>>
File: CvH9gfFWcAA2knK.jpg (29KB, 594x249px) Image search: [Google]
CvH9gfFWcAA2knK.jpg
29KB, 594x249px
>>
>>58585049
what the fuck
>>
>>58585011
This was the most teenage thing I've read today
>>
if(C){S}
>>
>>58584896
>let in shitloads of illegal immigrants violating your agreement with Reagan so you can create vote farms antibellum tier breeder programs
>force illegals to work slave labor to survive on farms and other form of hard labor for well under minimum wage
>if they go against you deport them or hurt them like obama has the cubans
>forcibly embed them into the workings of local economies
>promise them petty shit for votes
>when people say that the system is terrible and immoral and that you are literally practicing evil. tell them that they wont get no strawberries and the economy will do worse if they stop
Modern democrats still have the moral capability of the slave owning democrats of the past tbqh. we need to stop injecting this heroin into ourselves that we continue injecting at the threat that it will feel bad if we stop.
>>
>>58583885
There is no option in Safari to reverse search the image.
FUCK
>>
>>58585011
innies are prettier and tighter tho
>>
>>58585557
Are you retarded?
>>
>>58585049
Java for python programmers?
>>
>>58585617
kek
>>
>>58583946
>BASIC
It's so advanced, it doesn't even need statement separators.
>>
>>58583885
There's at least two more types, one of them is this
if (condition)                                {
statements
/*
...
*/ }
>>
// For debugging (disabled)
if (false) {}
log_stuff();

continue_with_normal_code();
>>
>>58583885
Indeed: People who adhere to language best practices and project specs and special snowflakes who insist on "their" style
>>
File: 1484978666650.jpg (57KB, 1205x322px) Image search: [Google]
1484978666650.jpg
57KB, 1205x322px
>>58583885
>>
>>58583885
I use the second one because it's easier to see if I haven't forgot a bracket when there are a lot of bracket indentations.
>>
>>58583885
Left one.
>>
>>58583885
if (Trump)
{
stumpable = 0
}
>>
>>58583911
Might as well code in assembly if you hate code being easily readable.
>>
>>58589960
>not koding in binary
>>
>>58584735
>>58584813
>>58584836
>>58584896
>>58585528
Is /g/ being raided?
>>
>>58583885
Left
>>
>>58584091
I'm confused. Are you using Reddit, one of the top 10 sites on the Internet, that is frequented by presidents, actors, and entrepreneurs, as some sort of insult?
>>
>>58584735
Lmao guess they're trying to prey on people who didn't learn in school that the modern Democrat republican parties flipped in the end of the 19th century
>>
I prefer curly brackets on a new line. Makes it a lot more readable. Plus, who the fuck honestly cares about making the program slightly smaller? Might as well get the Assembly code, convert all instruction to hex, then just make your code one line of a shit ton of instructions.
>>
>>58584987
Thats terrible. Holy shit. Is this a joke?
>>
>>58590216
>>>/reddit/
>>
>>58590542
So it's not an insult, you're just stroking my ego.
>>
I always used the second one but I am really considering switching to #1
>>
>>58583885
if (condition = 0x30 ) {
statement1;
statement2;
for (arguments) {
statement1_2;
}
return;
}


i like bitflags, because fuck you
>>
>>58590750
>if(condition = 0x30)
>=
>>
>>58584091
>>58590542
There is absolutely nothing wrong with reddit
>>
>>58591154
my mistake, it doesn't register some of the inputs
>>
>>58587275
It only looks more logical to you. It is not more readable, it is not less error prone, and it is certainly not more space-saving.
>>
>>58583911
Readability with a large team is vastly more important than whatever fucking metric you are thinking. Imagine just working on a math problem with you.

> I don't want to waste all the space on the white board
>>
>>58584474
The only "advantage" there are is readability, and most people think the first is more readable even people who use the second. Saving one keystroke literally doesn't matter.
>>
>>58594413
>he can't set up his text editor to use return before every bracket
>>
foo (bar baz)


vs.

foo $ bar baz
>>
I don't get it. Sloppy and clean?
>>
>>58590391
they never flipped techie I have a masters in american history. you know jack shit about the complexity of the internal shifts within the party's. the idea of a "flip" is a myth
>>
>>58583885
>>>/tumblr/
>>
>>58583885
>Hurr le ebin nerdy joke ;)
>>
>>58585049
What the fuck. Why?
>>
>>58589868
Vanilla dude
>>58586696
Stuck up, not fun to kode with but competent
>>58586670
Curious and open-minded, likeable guy but never content with his first n iterations
>>58584987
Likes to live "on the dangerous side" but was probably suckling his mouth fedora while typing that.
>>58583911
Explosively autistic. Probably triggered by me going up the thread from bottom to top.
>>
For readability the left is always the better one.
>>
class Foo
{
protected:
int x;
public:
Foo();
~Foo();
int y(int);
int z(int,int,int
int,int,int);
};

Foo::Foo() {}
Foo::~Foo() {}

int Foo::y(int a) {
return a;
}

int Foo::z(int a, int b, int c
int d, int e, int f ) {
return a;
}

Work styleguide. kill me now.
Thread posts: 73
Thread images: 5


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