+ 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
7 Antworten
+ 10
I use :
int main()
{
// codes
}
~_~…although i suggest the other…^_^
+ 11
int main() {
// codes
}
+ 10
int main()
{
// codes
}
+ 6
Yes, prefer the compressed version for speed optimization and storage size.
+ 6
I find this tidier than others, and it just feels nice. :D
int main() {
//everything
}
+ 3
i use :
int main () {
//codes
}
+ 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