Hacker News new | ask | show | jobs
by robocat 2497 days ago
Your example demonstrates nothing against tabs.

A tabbist would say the problem was that someone used spaces.

One of Dante's lesser hells is surely reserved for anyone that mixes tabs and spaces.

The issue really is that someone is not following guidelines (C, project, or implicit) and is not using tools that highlight such mistakes.

There is another level of hell reserved for those that use their own personal styles and conventions without paying attention to the existing code (or who just don't care).

1 comments

> One of Dante's lesser hells is surely reserved for anyone that mixes tabs and spaces.

Mixing tabs and spaces for indentation is demonic, while mixing tabs for indentation and spaces for alignment is the only good choice without redefining what tabs are.