• lasagna@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 years ago

    3 spaces is best because if the universe is chaos then everything in it should reflect that.

    • soundasleep@kbin.social
      link
      fedilink
      English
      arrow-up
      8
      ·
      2 years ago

      I’m more about increasing spaces exponentially to really highlight how important each line is

      public boolean function() {
       if (method()) {
         if (otherMethod()) {
             for (Object o : list()) {
                     if (o.isAlive()) {
                                     return false;
                     }
             }
         }
       }
       return true;
      }