3 ms·
I prefer tabs (tab-size: 4), but I prefer even more if everyone follows the same conventions. Dart, for example, uses 2 spaces. When I write Dart code, I use 2
by ahoge 12y ago
I prefer tabs (tab-size: 4), but I prefer even more if everyone follows the same conventions.
Dart, for example, uses 2 spaces. When I write Dart code, I use 2 spaces.
And that's the end of that. As history has shown, there is absolutely no point in discussing this. There is no clear winner.
- MetaCosm 12y agoYep. Asking a developer about style/formatting is an amazing filter if you have a lot of candidates... the answers I am looking for include "the language / platform standard", "the overwhelming most popular standard". The answers I have gotten have been nothing short of insane at times. I had a guy explain to me for almost 25 minutes why HIS system is UNIVERSALLY applicable to our code base, from C and C++ (multi platform) to Python to Makefiles...