Skip to content

Style Guide

ntduck edited this page Oct 11, 2024 · 2 revisions

Please read Clean Architecture. Or at least understand the gist of it. Or at least understand how to work with it.

  1. The Google Style Guide (comes everywhere)
  2. Use @Nullable instead of Optional. Nobody likes Optional.
  3. Use org.checkerframework.checker.nullness.qual.NonNull instead of lombok.NonNull, as we want checks to be at compile-time, not at run-time.
  4. Use org.checkerframework.checker.nullness.qual.Nullable instead of javax.annotation.Nullable, as the latter is pretty much deprecated.

Clone this wiki locally