My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

What's the main reason behind starting curly braces in the same line instead of a new line?

Tiffany Wright's photo
Tiffany Wright
·Mar 22, 2017

For example:

public class Main {


}

instead of:

public class Main
{


}