+ 3

Am I The Only One Who finds using spaces instead of Tab while Coding a bit Disturbing

1 tab Saves 7 Spaces.

6th Sep 2017, 4:58 AM
Vinit
Vinit - avatar
6 ответов
+ 4
Yes the Tab key might able to save you some keystrokes but it can take different lengths depend on the environment you're working on. So it's better to use space as convention otherwise you'll have trouble with mixing space and tab.
6th Sep 2017, 6:48 AM
Zephyr Koo
Zephyr Koo - avatar
+ 3
@vinit yes until you have to edit a program which uses only spaces, you'll get an error then you'll jave to do as @calvin said : convert using that approach is safer
6th Sep 2017, 7:03 AM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
+ 2
For code editing, use tab key is faster then enter space keys. For source code, it's better to be stored in spaces for greater compatibility. So programmers normally use tab key in writing codes, but set their code editor to convert tab to spaces.
6th Sep 2017, 6:42 AM
Calviղ
Calviղ - avatar
+ 1
No, I think you got it wrong. I meant using tabs is always better than using spaces.
6th Sep 2017, 5:13 AM
Vinit
Vinit - avatar
0
Use your code editor to set 1 tab equivalent to 2-spaces.
6th Sep 2017, 5:05 AM
Calviղ
Calviղ - avatar
0
install emmet.io in sublime or atom - tab will become your best friend!!!
6th Sep 2017, 8:49 AM
Scott Groves
Scott Groves - avatar