-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Given that our Java codebase grows, I guess it's time to decide on a certain coding style and stick to it.
Historically, Java coding style guidelines were slightly better than total anarchy of C++, but still pretty ambiguous. As far as I understand, the only current tool which performs the enforcement is checkstyle, and it offers two options:
"Sun style" seems to be very ambiguous and checks almost nothing, and "Google style" seems to be pretty strict, but it's mandating 2 spaces indent.
I was thinking of adopting Google style with one exception of using 4 spaces indent (as it seems to be the default in most Java environments).
This will be beneficial both for this Java runtime project and kaitai_struct_gui.
@Mingun, @ams-tschoening — any ideas / preferences?