• xigoi
      link
      fedilink
      214 months ago

      Good. Spaces and tabs for indentation should never be mixed in any language other than Whitespace.

      • @Faresh@lemmy.ml
        link
        fedilink
        English
        4
        edit-2
        4 months ago

        Some people use tabs for indentation and spaces for alignment. It kind of gets the pros of tabs (user configurable indent-width) and the pros of spaces (alignment). That doesn’t work in Python where you can’t align stuff and the interpreter doesn’t allow mixing tabs with spaces, but in other languages it is a possible style.

      • 𝘋𝘪𝘳𝘬
        link
        fedilink
        34 months ago

        Raw adjust with tabs, fine adjust with spaces.

        Don’t laugh, people are actually doing that.

    • Malle_Yeno
      link
      fedilink
      54 months ago

      Mixing tabs and white spaces in 2024 is categorically a you problem lmao