DEV Community

Discussion on: What is X in Perl?

Collapse
 
matthewpersico profile image
Matthew O. Persico

Indentation not meaningful

I prefer to describe this "Whitespace is not punctuation". Indentation is certainly meaningful for the readers of your code (which includes yourself after a few weeks on another project). For the love of Turing, INDENT your code. Given all the fancy-shmancy, shiny editors out there that will autoindent for you there is no reason not to indent. Just because you don't have to, doesn't mean you shouldn't. Especially if you are coming from a language that forces you to indent. Why drop that habit?