• psycho_driver@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    10 months ago

    If you use if (blah) { then when you fold your code you still see the { but not the closing } (I suppose some IDEs might be smart enough to do something about this, but when not it looks like your code has an overbite).

    And then you’ve got a mental disorder if you indent your opening and closing brace more than the statement spawning them.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 months ago

      Yeah, I just don’t see why IDEs couldn’t make them all fold in the same way. It’s trivial. I don’t see it as a valid complaint.