How do you format curly braces? {}
Fum
Posted on December 20, 2020
A discussion just for fun!
When coding in languages that use the curly braces {}
do you place the curly brace on a new line or in line?
Like so:
Option A:
int main()
{
}
OR
Option B:
int main(){
}
Just curious what others use. I always use option A and I'm always glad to see a codebase using the same because it's so much easier to read for me ๐
So what about you?
๐ ๐ช ๐
๐ฉ
Fum
Posted on December 20, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
watercooler Music of the Month โ What are you listening to? (Halloween Edition ๐)
October 28, 2024
watercooler Serenity, feasibility, priority: putting emotion-driven development into practice
October 14, 2024