Follow

software poll 

open bracket goes:

· · Web · 8 · 7 · 5

software poll 

Incredible, the majority of us are same-liners

i love it

re: software poll 

@arcade The one you write in

software poll 

@eletious as a line-ender i really was not expecting to be in a majority here, let alone such a huge one

software poll 

@eletious it goes at the end of the line unless the line is too long or it is a block delimiter with no context

software poll 

@eletious the correctest way is for everything to be on a new line including function arguments

int
main(
int argc,
const char *argv[]
) {
printf(
"Hello, world.\n"
);
return 0;
}

software poll 

@eletious I call this indentation style "the word-wrap feature in my text editor wants to kill me so I'm slowly starving it first"

software poll 

@eletious@eattherich.club I feel like if you write a script in an editor, end of line. If you're fancy pants .NET dev with IDE then you gotta do a new line. Idk why. I'll just say it's cuz the .NET dev gets paid per line of code

software poll 

@swaggboi It's funny, a . NET project is what prompted this poll

shitposting re: software poll 

@eletious I am the chaotic evil here:

if (condition)
{ doStuff(); }

shitposting re: software poll 

@kescher I'm calling the feds

re: software poll 

@eletious everyone else is wrong

Sign in to participate in the conversation
eattherich.club

are ya hungry? 🦆