News for hackers. Stuff that matters.
Re:Do you use blank lines in your code? by qjz on Saturday November 06, 2010 @04:35PM (#1877702)
I take advantage of Python's docstrings to describe what the following code does to the point where I don't feel the need to add blank lines within a function. It's all explained upfront, which seems to improve the readability of the compacted code. This habit has spilled over to other languages with no implicit structure so that code is organized between descriptive comment blocks. This has been really helpful with markup languages like PHP or Coldfusion, where indentation is meaningless and often negatively affects the quality of the outputted code.

There are no comments on this comment yet.