5 ms·
"Remark 2: my parenthesis-removal rule turns out not to work very well for programming :-)." This is why everyone should learn Python.
by selven 17y ago
"Remark 2: my parenthesis-removal rule turns out not to work very well for programming :-)."
This is why everyone should learn Python.
- dazmax 17y agoWhat? Python has way too many parentheses. Why should I have to write foo() to call foo? That's what I want to do with it 99% of the time. Ruby has it right.
- eru 17y agoBecause how are you going to refer to foo (and not the result of foo) otherwise? Haskell has it right. And Scheme and Forth of course.
- selven 17y agoIt still has many improvements over C. Compare: void func(x) { if (a == b) { do(c); do(d); } else{ do(e); } } vs: def func(x): if a == b: do(c) do(d) else: do(e)
- coliveira 17y agoI write the first as void func(int x) { if (a==b) do(c),do(d); else do(e); }