3 ms·
your first example is okay, but for me, I'll do this; if(something) {do_something();} Many code editors will easily insert curly brace pairs, so it's really j
by balls187 13y ago
your first example is okay, but for me, I'll do this;
if(something) {do_something();}
Many code editors will easily insert curly brace pairs, so it's really just a single extra key stroke you're saving.