Well, Jow Forums?

well, Jow Forums?

Attached: 4.png (1440x2048, 1.35M)

I use both.

Whatever the existing base is using is the actual answer. If it's my own project, Stroustrup style. Only because I started with his books.

IF (CONDITIONAL) {
}
is clearly superior

IF (CONDITIONAL) { }

(if condition
result-one
result-two)

This is how lisp handles it.

This. The opening { being on its own line does nothing but waste space.

Perversion of the True Path. Heretic.

This. You can't argue with facts. You just have to take your time and when you are ready, you accept them.

A wise words from a wise man.

Heh, bracket plebs itt

if condition then
statement;
end if;

Attached: 1558504161054.jpg (960x720, 71K)

It doesn't waste space. It creates readability space.

i don't think
{
this
}

is readable at all

if (condition
)
{ do something
}

what is this nigger shit

if (condition1 &&
condition2 ||
condition3
){
foo();
}

It is though

fair enough

I like doing the top but keeping {} on their own separate lines.

if (condition &&
(condition || (condition
))
) {
do something }

I format my code based on the standards used in the language in writing in. I don't try to shill c syntax in Java or vice versa.

{} as well as () should always be on one line, either horizontally or vertically. If they are aligned vertically the content inside should be indented. They themselves belong to the outside block and thus should not be indented. This provides maximum visibility of code blocks.

if(cond){}

or

if(cond)
{
//code
}

or even

if
(
cond1
&&
(cond2 || cond3)
)
{
//code
}

wrong

putting the braces on a separate line makes it easier to spot code blocks.

your opinion is wrong

it's objectively superior

My language doesn't use braces
I guess this is a common argument on the community of languages like JS

it doesn't matter, your code will be shit anyway

(CONDITIONAL) ? (SEQUENCE) : (OTHERWISE);

Maybe if you live in a world where people don't use tabs.

if (condition)
single instruction

if (condition)
{
instruction block
}

if ( true
&& condition1
&& condition2
|| ( condition3 || condition4 )
)
{
instruction block
}

if() {
}
for conditionals loops and such
int
func()
{
}
for functions
t. openbsd dev

How are they pronouncing this? This dialog is complete garbage.

>how are they pronoucing this

if conditional Bracket newline bracket

if conditional newline bracket newline bracket

I only use it for lambda expressions, though.

>still using if statements in 2019
nvm i didn't see that it's september, just the new computer science freshmen shitting up the board again i guess

Only correct answer ITT