CURLY BRACES DEBATE! SAME LINE vs NEW LINE?

preview_player
Показать описание
I got a little carried away after I made a battle song on Bosca Ceoil and wanted to use it for something. So this video we look at the differences between the New Line and Same Line curly bracket style. Which one do you use?

Рекомендации по теме
Комментарии
Автор

I’m team Same Line cuz I’m OG like Charles Avocado. Sippin on Fizzbuzz and juice. With my mind on coding and coding on my mind.

stevengarcia
Автор

New Line curly braces are superior for one single fact: easily commenting the conditionals for debugging.

Throws compile error:
```
//if(condition){
DoStuff();
}
```

Works fine:
```
//if(condition) - skip condition
{
DoStuff();
}
```

Cronofear
Автор

Oh my god, that example at the end makes me so uncomfortable, I was waiting for it to be rewritten with both examples or something, but instead you just end the video you sadist!!

toodough
Автор

BARR programming standard defines newline braces as a standard

kasparpoldoja
Автор

I’d be that annoying one and use both tbh

inwgbwz
Автор

K&R a 100% its not even a choice for me. Allman looks disgusting

Oi-mjdv
Автор

is there text formatting extenssion that puts the curly automattically on the next line

sinistergaming
Автор

Kyoon Udaas Phirte Ho Sardiyon Ki Shaamon Men

Is Tarah To Hotaa Hai Is Tarah Ke Kaamon Men

محمدحارثبھائی
visit shbcf.ru