44 ms·
Maybe it's not my place to say but the tabbing made the code hard for me to read. I'm learning Ruby and have always been told to use 2 spaces. Are tabs ok too
by dopamean 13y ago
Maybe it's not my place to say but the tabbing made the code hard for me to read. I'm learning Ruby and have always been told to use 2 spaces. Are tabs ok too?
- diab0lic 13y agoIts been a long time since I wrote Ruby code, but if I recall correctly I believe the community is overwhelmingly in favour of 2 spaces as opposed to tabs.
- dionidium 13y agoThis is a very old debate: * https://www.google.com/search?q=tabs+vs+spaces https://www.google.com/search?q=tabs+vs+spaces Different languages have different conventions, but it ultimately comes down to developer preference.
- jawerty 13y agoSorry about that. The way I setup Sublime Text, the tabs don't appear to be very large but when I push to github, its way too big. I made some changes that should make it better to read.