you are viewing a single comment's thread
view the rest of the comments
[+] 1 point 2 years ago (1 child)
  • [–] 5 points 2 years ago (1 child)

    Tabs work fine, you aren't allowed to mix, indentation must be consistent.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 0 points 2 years ago

    Actually I think you can technically mix. They have a "conversion factor". But don't, because then the code will look like crap on any other tab size (defeating the point of using tabs in the first place)

    I think it would be better that each line needs to start with the exact same bytes to be considered within the same indent level. But I don't think that is the decision Guido made.

  • source
  • parent