Well Sup Forums?

well Sup Forums?

Does it matter?

baby's first main

both do the same thing and it's stupid to argue about this shit unless you have a coding standard by someone to follow.

The second one

Looks more like python, which is aesthetically pleasing to my brain

I personally prefer
{
vaginas
}

Die.

eat dicks

Dont care either way as long as it is consistent within the file

look at these sad sallys. Why don't you go talk about Tek Syndicate some more.

int main(int argc, char **argv)
{
std::cout

this. I want to scratch my eyes out when people aren't consistent in format.

1

too bad you never {
get any
}

Why did you write two main functions?

int main(argc, argv)
int argc;
char **argv;
{
puts("eat dicks");
return 0;
}

First one. Heretic people all over the world have claimed that this inconsistency is ... well ... inconsistent, but all right-thinking people know that (a) K&R are _right_ and (b) K&R are right.

int
main(int argc, char **argv)
{
std::cout

holy fukk, this satisfies my 'tism

I like it but my austism goes crazy with the type and name not being side by side.

>cout
lmao get gud

>cout
cout
>cout
cout
>cout
cout
>cout
cout
>cout
cout


ENJOY YOUR BOTNET

Both. 2nd for Java, 1st for C++

First one in C/C++/C#

Second one in Java.

I respect K&R but the second one
also
>iostream in a hello world program

stallman please go

I use to code using 1 method, then when I started coding in python I started to do the 2nd method.

I do 2nd out of habit, but I do think 1st is more visually pleasing.

By the way what's the color theme?

Also: there should be a space between the function name and the parameter list. Not in the function call, just in the function prototype and header.
int main (int argc, char **argv)
{
std::cout

Autism.
Space are only for conditionals and loops.

the first one is better

This desu

I honestly don't understand how anyone could prefer the first.

void write_dicks(int nmbrDicks)
{
int i;
for (i=0 ; i

int main(int argc, char **argv)
{
MAIN_FUNCTION (argc, argv);
return 0;}

int MAIN_FUNCTION (int Variable_Name, char **Other_Variable_Name)
{
std::cout

there's no option in go

I didn't at first but somewhere along the way I switched.

haskell
because

main = putStr "eat dicks"

no need for {}
also
>sepples

nah it'd be too easy to miss the closing } making it harder to read

lol{dongs;}