Christos Lytras 7/7/2021

Never use TABS for code indentation

Read Original

This article argues against using tabs for code indentation, stating they cause inconsistent formatting when code is shared or viewed in different editors or web browsers. It explains that tabs were originally for tabular data, not indentation, and demonstrates how spaces provide reliable alignment. The author counters common pro-tab arguments, focusing on practical issues in web development and collaborative coding environments.

Never use TABS for code indentation

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes