Is it safe to indent with 2 spaces?

廉价感情. 提交于 2019-12-05 01:40:36

We indent with TABS at our organization for one simple reason. Tab's can be converted to spaces, but spaces cannot be converted to tabs (reliably). Once you get the hang of it most editors let you set the TAB-WIDTH, so you can see the code as indented as you would like. 2, 4, 6 spaces!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!