• @[email protected]
    link
    fedilink
    22 years ago

    Ah, I see what you mean, out of instinct I’d have put one more tab on the “whatever” line, which would break the concept. But if you manually do both the indent + alignment in spaces then it works.

    Besides your IDE of choice screaming at you that you are mixing tabs and spaces that is :)

    It still feels like a hack though, simply going with spaces is more uniform and works everywhere. Especially as a lot of code is viewed in browsers nowadays (GitHub, GitLab, …) and tabs are often a mess in those environments.

    • @[email protected]
      link
      fedilink
      12 years ago

      Besides your IDE of choice screaming at you that you are mixing tabs and spaces that is

      JetBrains IDEs actually have it built in, it’s called “smart tabs”.