A really long method body is at most 20 lines.
The names of variables, methods and classes are explanatory to a level that no comments are required.
If a method calls other methods that throw checked exceptions that cannot be handled within that method, these exceptions are caught, wrapped in a
YonaException (which is unchecked) and rethrown. That way, we prevent sprawl of checked exceptions.
catch spans the entire method body
If a method contains a
catch, then the
try-statement is the first statement is the first statement in the method and there is nothing after the last
catch. This keeps the code concise and uniform.
US English is the language of choice
All code, comments and technical documentation is written in US English.