• Latest
  • Trending
  • All
Linus Torvalds reiterates his tabs-versus-spaces stance with a kernel trap

Linus Torvalds reiterates his tabs-versus-spaces stance with a kernel trap

3 years ago
आज का शब्द:अमिय और उर्मिल सत्यभूषण की कविता- कस्तूरी गंध अपनी थी – Aaj Ka Shabd Amiy Urmil Satya Bhushan Ki Kavita Kasturi Gandh Apni Thi

आज का शब्द:अमिय और उर्मिल सत्यभूषण की कविता- कस्तूरी गंध अपनी थी – Aaj Ka Shabd Amiy Urmil Satya Bhushan Ki Kavita Kasturi Gandh Apni Thi

1 hour ago
Alaves shock Real Madrid in La Liga as Jude Bellingham sent off for diving

Alaves shock Real Madrid in La Liga as Jude Bellingham sent off for diving

2 hours ago
दिल्ली में मकान में आग लगने से 4 की मौत: 2 घायल, सभी पहली मंजिल पर सो रहे थे; ई-रिक्शा के चार्जिंग पॉइंट से लगी आग – Delhi Fire Tragedy

दिल्ली में मकान में आग लगने से 4 की मौत: 2 घायल, सभी पहली मंजिल पर सो रहे थे; ई-रिक्शा के चार्जिंग पॉइंट से लगी आग – Delhi Fire Tragedy

2 hours ago
IND vs NZ Christchurch Test Day 3 Live Score: टीम इंडिया पर फॉलोऑन का खतरा, थोड़ी देर में शुरू होगा खेल

IND vs NZ Christchurch Test Day 3 Live Score: टीम इंडिया पर फॉलोऑन का खतरा, थोड़ी देर में शुरू होगा खेल

6 hours ago
US: कैलिफोर्निया में 5.0 तीव्रता का भूकंप, लॉस एंजेलिस में भी महसूस किए गए झटके – earthquake hits USA California tremors felt Los Angeles also ntc rmxk

US: कैलिफोर्निया में 5.0 तीव्रता का भूकंप, लॉस एंजेलिस में भी महसूस किए गए झटके – earthquake hits USA California tremors felt Los Angeles also ntc rmxk

6 hours ago
UNITE flags alleged job scam by Salem-based Stackly

UNITE flags alleged job scam by Salem-based Stackly

7 hours ago
Chandigarh News:120 मॉडलों से दिखाई वैज्ञानिक सोच, डड्डूमाजरा स्कूल ने जीती जूनियर वर्ग की ट्रॉफी – Scientific Thinking Showcased Through 120 Models; Dadumajra School Wins The Trophy In The Junior Category

Chandigarh News:120 मॉडलों से दिखाई वैज्ञानिक सोच, डड्डूमाजरा स्कूल ने जीती जूनियर वर्ग की ट्रॉफी – Scientific Thinking Showcased Through 120 Models; Dadumajra School Wins The Trophy In The Junior Category

7 hours ago
World Chess Championship: 4 games, 4 draws! Gukesh-Sindarov battle stays level

World Chess Championship: 4 games, 4 draws! Gukesh-Sindarov battle stays level

9 hours ago
World Chess Championship: Another draw as Gukesh, Sindarov keep the powder dry

World Chess Championship: Another draw as Gukesh, Sindarov keep the powder dry

9 hours ago
सर्दियों में घर पर उगाएं हरी प्याज, तेजी से पौधे की ग्रोथ बढ़ाने के लिए अपनाएं ये आसान टिप्स

सर्दियों में घर पर उगाएं हरी प्याज, तेजी से पौधे की ग्रोथ बढ़ाने के लिए अपनाएं ये आसान टिप्स

9 hours ago
Delimitation: New Bill Stops South States Losing Seats; 2011 Census Formula Would’ve Cost Tamil Nadu 7, Kerala 5 | India News

Delimitation: New Bill Stops South States Losing Seats; 2011 Census Formula Would’ve Cost Tamil Nadu 7, Kerala 5 | India News

10 hours ago
Manchester United slump to 4-0 defeat against Brentford in Mauricio Pochettino’s home debut

Manchester United slump to 4-0 defeat against Brentford in Mauricio Pochettino’s home debut

10 hours ago
Sunday, November 29, 2026
  • PRESS RELEASE
  • ADVERTISE
  • CONTACT
  • Game
India News Online
  • Home
  • News
    • India
    • Punjab
    • International
    • Entertainment
  • Hindi News
  • Politics
  • Health
  • Business
  • Sports
  • Technology
  • Lifestyle
  • Video
    • All
    • Hindi Songs
    • Punjabi Songs
    Sunanda Sharma | New Punjabi Songs #sunandasharma #punjabisong #shorts #viral #trending

    Sunanda Sharma | New Punjabi Songs #sunandasharma #punjabisong #shorts #viral #trending

    Latest Punjabi Sad Songs 2026 💔 | Heart Touching Punjabi Sad Love Songs | Emotional Breakup Songs |

    Latest Punjabi Sad Songs 2026 💔 | Heart Touching Punjabi Sad Love Songs | Emotional Breakup Songs |

    Refugee (Official Music Video) Jordan Sandhu | Latest Punjabi Songs 2026

    Refugee (Official Music Video) Jordan Sandhu | Latest Punjabi Songs 2026

    New Songs 2026 | Kitna Pyar Hai | New Hindi Song | Ariyan Khan | Rashmika | Latest Romantic Song

    New Songs 2026 | Kitna Pyar Hai | New Hindi Song | Ariyan Khan | Rashmika | Latest Romantic Song

    Girls Night Mix | Video Jukebox | Hindi Bollywood Songs | Chhaliya, Lucky Boy & more

    Girls Night Mix | Video Jukebox | Hindi Bollywood Songs | Chhaliya, Lucky Boy & more

    Sappan De Ghar | Gulab Sidhu | New Punjabi Song 2026 | Latest Punjabi Song | Finetone Music

    Sappan De Ghar | Gulab Sidhu | New Punjabi Song 2026 | Latest Punjabi Song | Finetone Music

    90’S Old Hindi Songs🥰 90s Love Song😍 Udit Narayan, Alka Yagnik, Kumar Sanu songs Hindi Jukebox

    90’S Old Hindi Songs🥰 90s Love Song😍 Udit Narayan, Alka Yagnik, Kumar Sanu songs Hindi Jukebox

    90’S Old Hindi Songs💗 90s Love Song💛Udit Narayan, Alka Yagnik, Kumar Sanu, Sonu Nigam songs Hindi

    90’S Old Hindi Songs💗 90s Love Song💛Udit Narayan, Alka Yagnik, Kumar Sanu, Sonu Nigam songs Hindi

    Bollywood 90’s Romantic Songs | Audio Jukebox | Hindi Love Songs | Tips Official | 90’s Hits

    Bollywood 90’s Romantic Songs | Audio Jukebox | Hindi Love Songs | Tips Official | 90’s Hits

  • Travel
  • Game
No Result
View All Result
India News
No Result
View All Result
Home Technology

Linus Torvalds reiterates his tabs-versus-spaces stance with a kernel trap

by India News Online Team
April 16, 2024
in Technology
0
Linus Torvalds reiterates his tabs-versus-spaces stance with a kernel trap
Share on FacebookShare on TwitterShare on Email


Tab soda displayed on a grocery shelf
Enlarge / Cans of Tab diet soda on display in 2011. Tab was discontinued in 2020. There has never been a soda named “Spaces” that had a cult following.

Getty Images

Anybody can contribute to the Linux kernel, but any person’s commit suggestion can become the subject of the kernel’s master and namesake, Linus Torvalds. Torvalds is famously not overly committed to niceness, though he has been working on it since 2018. You can see glimpses of this newer, less curse-laden approach in how Torvalds recently addressed a commit with which he vehemently disagreed. It involves tabs.

The commit last week changed exactly one thing on one line, replacing a tab character with a space: “It helps Kconfig parsers to read file without error.” Torvalds responded with a commit of his own, as spotted by The Register, which would “add some hidden tabs on purpose.” Trying to smooth over a tabs-versus-spaces matter seemed to awaken Torvalds to the need to have tab-detecting failures be “more obvious.” Torvalds would have added more, he wrote, but didn’t “want to make things uglier than necessary. But it *might* be necessary if it turns out we see more of this kind of silly tooling.”

If you’ve read this far and don’t understand what’s happening, please allow me, a failed CS minor, to offer a quick explanation: Tabs Versus Spaces will never be truly resolved, codified, or set right by standards, and the energy spent on the issue over time could, if harnessed, likely power one or more small nations. Still, the Linux kernel has its own coding style, and it directly cites “K&R,” or Kernighan & Ritchie, the authors of the coding bible The C Programming Language, which is a tabs book. If you are submitting kernel code, it had better use tabs (eight-character tabs, ideally, though that is tied in part to teletype and line-printer history).

Advertisement

By attempting to smooth over one tiny part of the kernel so that a parsing tool could see a space character as a delineating whitespace, Prasad Pandit inadvertently spurred a robust rebuttal:

It wasn’t clear what tool it was, but let’s make sure it gets fixed. Because if you can’t parse tabs as whitespace, you should not be parsing the kernel Kconfig files.

In fact, let’s make such breakage more obvious than some esoteric ftrace record size option. If you can’t parse tabs, you can’t have page sizes.

Yes, tab-vs-space confusion is sadly a traditional Unix thing, and ‘make’ is famous for being broken in this regard. But no, that does not mean that it’s ok.

Torvalds’ hidden tabs appear in the fourth release candidate for Linux kernel 6.9, which Torvlads wrote had “nothing particularly unusual going on” the week of its release.

Disclosure: The author is a tab person insofar as he has any idea what he’s doing.

This post was updated at 6:33 pm Eastern to fix some line-break issues in the Torvalds blockquote. The irony was duly noted. A better link regarding the Tabs Vs. Spaces debate was also swapped in.



Source link

Tags: kernelLinusreiteratesstancetabsversusspacesTorvaldsTrap
Share199Tweet125Send

Related Posts

OpenAI Countersues Apple, Accuses iPhone Maker Of Stealing AI Device Trade Secrets | Tech News
Technology

OpenAI Countersues Apple, Accuses iPhone Maker Of Stealing AI Device Trade Secrets | Tech News

November 28, 2026
5 Ways To Make Sure Your Console Isn’t Holding Back Your GTA 6 Performance
Technology

5 Ways To Make Sure Your Console Isn’t Holding Back Your GTA 6 Performance

November 27, 2026
Nvidia hits pause on chip shipments to Southeast Asia
Technology

Nvidia hits pause on chip shipments to Southeast Asia

November 26, 2026
WhatsApp users can now schedule messages up to 14 days in advance
Technology

WhatsApp users can now schedule messages up to 14 days in advance

November 26, 2026
Load More
  • Trending
  • Comments
  • Latest
9 Festivals to Celebratein August in India

9 Festivals to Celebratein August in India

August 8, 2025
Corruption cases against govt officials: SC bats for striking balance | Latest News India

Corruption cases against govt officials: SC bats for striking balance | Latest News India

August 5, 2025
Guru Randhawa – SIRRA ( Official Video )

Guru Randhawa – SIRRA ( Official Video )

July 1, 2025
दिल्ली में मकान में आग लगने से 4 की मौत: 2 घायल, सभी पहली मंजिल पर सो रहे थे; ई-रिक्शा के चार्जिंग पॉइंट से लगी आग – Delhi Fire Tragedy

दिल्ली में मकान में आग लगने से 4 की मौत: 2 घायल, सभी पहली मंजिल पर सो रहे थे; ई-रिक्शा के चार्जिंग पॉइंट से लगी आग – Delhi Fire Tragedy

0
Take the Capitol! Washington DC turns riot-zone as Trump supporters protest Biden’s win

Take the Capitol! Washington DC turns riot-zone as Trump supporters protest Biden’s win

0
UK reports highest daily Covid-19 deaths since April

UK reports highest daily Covid-19 deaths since April

0
आज का शब्द:अमिय और उर्मिल सत्यभूषण की कविता- कस्तूरी गंध अपनी थी – Aaj Ka Shabd Amiy Urmil Satya Bhushan Ki Kavita Kasturi Gandh Apni Thi

आज का शब्द:अमिय और उर्मिल सत्यभूषण की कविता- कस्तूरी गंध अपनी थी – Aaj Ka Shabd Amiy Urmil Satya Bhushan Ki Kavita Kasturi Gandh Apni Thi

November 29, 2026
Alaves shock Real Madrid in La Liga as Jude Bellingham sent off for diving

Alaves shock Real Madrid in La Liga as Jude Bellingham sent off for diving

November 29, 2026
दिल्ली में मकान में आग लगने से 4 की मौत: 2 घायल, सभी पहली मंजिल पर सो रहे थे; ई-रिक्शा के चार्जिंग पॉइंट से लगी आग – Delhi Fire Tragedy

दिल्ली में मकान में आग लगने से 4 की मौत: 2 घायल, सभी पहली मंजिल पर सो रहे थे; ई-रिक्शा के चार्जिंग पॉइंट से लगी आग – Delhi Fire Tragedy

November 29, 2026
India News Online

24x7 Online News From India
India News Online is your news, entertainment, music fashion website. We provide you with the latest breaking news and videos straight from the entertainment industry.

Categories

  • Business
  • Entertainment
  • Health
  • Hindi News
  • Hindi Songs
  • India
  • International
  • Lifestyle
  • Panjab
  • Politics
  • Punjabi Songs
  • Sports
  • Technology
  • Travel
  • Uncategorized
No Result
View All Result

Recent Posts

  • आज का शब्द:अमिय और उर्मिल सत्यभूषण की कविता- कस्तूरी गंध अपनी थी – Aaj Ka Shabd Amiy Urmil Satya Bhushan Ki Kavita Kasturi Gandh Apni Thi
  • Alaves shock Real Madrid in La Liga as Jude Bellingham sent off for diving
  • दिल्ली में मकान में आग लगने से 4 की मौत: 2 घायल, सभी पहली मंजिल पर सो रहे थे; ई-रिक्शा के चार्जिंग पॉइंट से लगी आग – Delhi Fire Tragedy
  • Home
  • Disclaimer
  • DMCA
  • Privacy Policy
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact

Copyright © 2021 - India News Online.

No Result
View All Result
  • Home
  • News
    • India
    • Punjab
    • International
    • Entertainment
  • Hindi News
  • Politics
  • Health
  • Business
  • Sports
  • Technology
  • Lifestyle
  • Video
  • Travel
  • Game

Copyright © 2021 - India News Online.