Beta

×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Why Isn't There A Code Indentation Standard?

jfruh (300774) writes | about a year ago

Programming 0

jfruh writes "Most programmers indent lines of code in order to make it more readable. But how exactly do you do it? Do you use hard tabs (that produce the ASCII tab character) or soft ones (that insert several ASCII space characters)? How many spaces do you use? Under what circumstances do you indent at all? No matter what system you use, it's a good bet that you think that you're right and everyone else is wrong. But not only do opinions vary across individuals — they vary across different platforms and languages as well."
Link to Original Source

cancel ×

0 comments

Sorry! There are no comments related to the filter you selected.

Check for New Comments
Slashdot Login

Need an Account?

Forgot your password?
or Connect with...

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>