DEV Community

Discussion on: What makes for readable code?

Collapse
 
scottishross profile image
Ross Henderson

Please, please, PLEASE indent your code. I have people in my business that write code on as few lines as possible. "It's a waste of space", they say.

I say it's a waste of my time having to make it readable before I can work on it!

Collapse
 
metalmikester profile image
Michel Renaud

And separating chunks with a blank line is nice too. I've seen source files in the thousands of lines without one single blank line. ugh

Collapse
 
pclundaahl profile image
Patrick Charles-Lundaahl

That's horrifying :|