3 ms·
It's interesting how many of these that aren't outright misfeatures are recognisable as half-implemented Common Lisp features if you squint at them sideways: Py
by regularfry 16y ago
It's interesting how many of these that aren't outright misfeatures are recognisable as half-implemented Common Lisp features if you squint at them sideways: Python's comparison chains, bc's quit/halt difference, VB7's Loop, JS's multiple-value return, SFINAE in C++... I'm sure there are others.
- omaranto 16y agoI mostly agree but in the case of comparison chains it is lisp that has the half-implemented version: of course a<b<c is (< a b c), but a<=b<c, which is actually more common in my code, becomes (and (<= a b) (< b c)). Mathematica, which has much in common with lisp, does something analogous to (inequalities a '<= b '< c), using symbols for the comparisons.