• 微头条

    让本地生活更美好

打开APP

微软资深工程师抛弃制表符,转向空格的背后原因

2024-10-08 科技汇总
微软资深工程师抛弃制表符,转向空格的背后原因

Source: Slashdot

资深微软工程师Larry Osterman参与了“制表符与空格”之争。

他曾在存储紧张时偏爱制表符,但随着廉价存储的发展,现在认为使用空格更为合适。

他指出,当存储仅有512千字节时,每个缩进使用制表符可节省存储空间,但如今存储不再成问题,因此空格的使用不仅始终如一,而且在代码可读性上相对稳定。

在技术变革的潮流中,我们是否应该时刻关注效率与可读性之间的微妙平衡呢?

特别声明:本文及配图均为用户上传或者转载,本文仅代表作者个人观点和立场,不代表平台观点。其原创性以及文中陈述文字和内容未经本站证实, 对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本平台不作任何保证或承诺,请读者仅作参考, 并请自行核实相关内容。如发现稿件侵权,或作者不愿在本平台发布文章,请版权拥有者通知本平台处理。
Copyright Disclaimer: The copyright of contents (including texts, images, videos and audios) posted above belong to the User who shared or the third-party website which the User shared from. If you found your copyright have been infringed, please send a DMCA takedown notice to info@microheadline.com
来源:https://tech.slashdot.org/story/24/10/08/1829212/microsoft-veteran-ditches-team-tabs-blaming-storage-trauma-of-yesteryear?utm_source=rss1.0mainlinkanon&utm_medium=feed https://klse.i3investor.com/web/blog/detail/future_tech/2024-10-05-story-h470916232-Game_on_Automakers_expand_video_entertainment_options_in_vehicles https://twitter.com/TheRegister/status/1843570677728919589
更多阅读