+ 13

[VOTE] The Ultimate Coding Preference (?)

Greetings everyone! This thread is actually a survey conducted to determine which coding preference is the most adopted in our community. Well... it's not so big of a deal actually. It's about how you prefer to put your curly brackets : Do you prefer int main() { // codes } or int main() { // codes } Cast your votes in the options below by up-voting your preferred choice! Do tell why you think your preference is better :D

5th Jan 2017, 2:20 PM
Hatsy Rei
Hatsy Rei - avatar
7 Answers
+ 10
I use : int main() { // codes } ~_~
although i suggest the other
^_^
5th Jan 2017, 2:23 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 11
int main() { // codes }
5th Jan 2017, 2:21 PM
Hatsy Rei
Hatsy Rei - avatar
+ 10
int main() { // codes }
5th Jan 2017, 2:21 PM
Hatsy Rei
Hatsy Rei - avatar
+ 6
Yes, prefer the compressed version for speed optimization and storage size.
5th Jan 2017, 2:31 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 6
I find this tidier than others, and it just feels nice. :D int main() { //everything }
5th Jan 2017, 2:40 PM
Filip
Filip - avatar
+ 3
i use : int main () { //codes }
5th Jan 2017, 2:26 PM
Leon lit
Leon lit - avatar
+ 1
int main() { // preferred for JS } & int main() { // preferred for C# } however i think overall i prefer the latter as it makes for clearer lining up when trying to identify the scope quickly
5th Jan 2017, 3:05 PM
EmilyRosinaCarey
EmilyRosinaCarey - avatar