Reply to post: Re: Hey, did you know the editor could do that automatically?

Software dev bombshell: Programmers who use spaces earn MORE than those who use tabs

bombastic bob Silver badge
Flame

Re: Hey, did you know the editor could do that automatically?

the 'droid IDE goes way too far in this regard, and if you're not careful, it wants VERY much to re-format your nice Allman-style code into crappy-looking K&R code. bleah.

just tell the IDE to convert those tabs into spaces, select 2 spaces per tab column, and you get the best of all worlds, no excessive right-margin widths, lots of indenture, and readable via 'less' 'nano' or any complicated IDE when you're done with it.

(and stop it with the K&R code, especially "} else {", so that humans can read what you wrote more easily)

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon