4 ms·
I completely support enforced style -- it's part of what I love about Python and F#'s light mode -- but it has to be the right style. I strongly believe that c
by FreakLegion 15y ago
I completely support enforced style -- it's part of what I love about Python and F#'s light mode -- but it has to be the right style.
I strongly believe that code should look like a screenplay, not a novel. More white space, in other words, is rarely a bad thing. Inline braces decrease white space and make unfamiliar code harder to scan, so to me they're Not Good.
Also wow, I didn't know it was even possible to write Python without spaces. Are we talking no spaces in arguments, like
def func(arg1,arg2):
print "Indented"
return
or full-on no spaces?
def func(arg1,arg2):
print "Not indented"
return
I thought the latter was prohibited.
- nakkiel 15y agoSorry, we are talking about that: def func(arg1,arg2): i=other_stuff(1,2,3,4,56,43,234+4*3) return i