Home > Programming > Best coding practices: spaces VS tabs – a never ending discussion.

Best coding practices: spaces VS tabs – a never ending discussion.

First of all, I’m a 100% tabs guy (for indentation, at least). And here’s why: Reason: Indentation With Spaces Considered Harmful.

In case you still think using spaces for indentation is the right way to impose your aesthetical preferences  on others, then you should code alone in your smelly and dark cave 😉

On the other hand, spaces may find their…er… space at the task of alignment: check it out why here.

And maybe the solution that will end this war for good (or start a brand new one ;-)): elastic tabs.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: