in reply to Re: Code style question
in thread Code style question

Indenting style is just that, indenting style. There is no official answer to this indentation question. I have a preference for 3. That doesn't mean that 2 or 4 is "wrong".

Replies are listed 'Best First'.
Re^3: Code style question
by Fletch (Bishop) on May 20, 2021 at 16:30 UTC

    Yes it is wrong. Wait . . . I'm sorry, was this just the five minute argument or the full half hour? :)

    Edit: 98% an unserious comment solely to make the Python (Monty) reference.

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

      Hah! Whitespace and well written comments are some of the most important things in code. In my code, when the "subject/purpose" changes, I add a blank line. That blank line is important and it is there for a reason! The compiler doesn't care, but the humans do care!