Navigation
Search
|
Microsoft Veteran Ditches Team Tabs, Blaming Storage Trauma of Yesteryear
Tuesday October 8, 2024. 09:22 PM , from Slashdot
Veteran Microsoft engineer Larry Osterman is the latest to throw his hat into the 'tabs versus spaces' ring. From a report: The debate has vexed engineers for decades -- is it best to indent code with tabs or spaces? Osterman, a four-decade veteran of Microsoft, was Team Tabs when storage was tight, but has since become Team Spaces with the advent of terabytes of relatively inexpensive storage. 'Here's the thing,' he said. 'When you've got 512 kilobytes, and you're writing a program in Pascal with lots of indentation, if you're taking eight bytes for every one of those indentations, for eight spaces, you could save seven bytes in your program by using a tab character.'
It all added up, even when floppy disks were part of the equation. However, according to Osterman, things have changed. Storage is less of an issue, so why not use spaces? A cynic might wonder if that sort of attitude has led to the bloatware of today, where software requires ever-increasing amounts of storage in return for precious little extra functionality and a never-ending stream of patches. Any decent compiler should strip out any extraneous characters, assuming the code is indeed being compiled beforehand and not interpreted at run-time. For his part, Osterman is now a member of team spaces. 'I like spaces simply because it always works and it's always consistent,' he said. Read more of this story at Slashdot.
https://tech.slashdot.org/story/24/10/08/1829212/microsoft-veteran-ditches-team-tabs-blaming-storage...
Related News |
25 sources
Current Date
Dec, Sun 22 - 13:52 CET
|