• chaorace@lemmy.sdf.org
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

      For real. OP needs to give up on this ridiculous notion of tabbed whitespace and learn to use real, monospaced indentation. How wide is a tab? OP couldn’t tell you because tabs are inherently dishonest – a lie concocted by big keyboard to poison the unwashed programmer masses.

  • ZILtoid1991@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago
    int mostCursedIndentation (const int someVal) @safe {
    {}{}if (someVal < 0) {
    {}{}{}{}throw new Exception ("Value cannot be negative!");
    {}{}}
    {}{}return someVal * 5 - 3;
    }