You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In most programming languages, if is not a function; therefore, it should be formatted accordingly.
Code formatting should not be left to personal preference. Fortunately, a great deal of time and effort has been invested by others to establish good practices on how to properly format code, enhancing its readability and promoting consistency throughout the codebase.
Feature description
In the Grails Core module:
if()
occurs
1529
times vsif (
occurs
6502
times.In most programming languages, if is not a function; therefore, it should be formatted accordingly.
Code formatting should not be left to personal preference. Fortunately, a great deal of time and effort has been invested by others to establish good practices on how to properly format code, enhancing its readability and promoting consistency throughout the codebase.
Some good starting points are:
https://www.oracle.com/java/technologies/javase/codeconventions-contents.html (With the exception of line wrapping as screen widths have changed)
https://google.github.io/styleguide/javaguide.html](https://google.github.io/styleguide/javaguide.html
I recommend we start with consistent bracing and horizontal whitespace
The text was updated successfully, but these errors were encountered: