Linus Torvalds Injects Tabs To Thwart Kconfig Parsers Not Correctly Handling Them
Linus Torvalds Injects Tabs To Thwart Kconfig Parsers Not Correctly Handling Them
- Linus Torvalds added hidden tabs to Kconfig to challenge parsers that can't handle them.
- Tabs were intentionally added to the common Kconfig file for page sizes to expose faulty parsers.
- Torvalds believes parsers unable to handle tabs shouldn't be parsing kernel Kconfig files, aiming to force fixes.
You're viewing a single thread.
View all comments
119
comments
Why would anyone NOT parse a tab as whitespace? Like, python really wants you to use spaces but will still let you use tabs if you are consistent.
100 2 ReplyThere's the .tsv format too.
21 0 ReplyEven then, unless for some reason you code on paper, there is no excuse to not have a formatter, that enforces one style, or the other
12 0 Reply
You've viewed 119 comments.
Scroll to top