Open gkz opened 11 years ago
Match is a must have feature
+1 on all except stand alone @
(mostly because I have a lot of old code using it).
@ozra I agree WRT the original list (except I also want to keep C:: == C.prototype
).
@focused I agree, and I wish match
was documented. It does IMHO have odd behavior with certain cases (it's rather ad-hoc in how it matches things), and could stand to be fixed, but it should still stay around.
I'm disappointed the single-item array not evaluating to an array "feature" wasn't removed in 1.5 after all. 😕 It's something that actively causes pain through unexpected behavior, rather than just duplicating behavior.
So far (on master), slated for removal (and currently with compiler notices upon use):
f(x) = x
- [currently has notice] why: hacky implementation, duplicating functionaly use --> to make curried functions+++
concat op [currently has notice] why: added ++ as concat op, which is shorter and betterwhere
statement - relatively useless - just use local var assignment or a let statement [currently has notice]undefined
alias forvoid
- added for CoffeeScript compatibility, but with coffee2ls that is not an issue [currently has notice]!?
inexistence op [currently has notice]discussion:
**
or^
for power op?import
andimportAll
?x is not y
to meanx isnt y
, have it meanx is !y
insteadyes/no/on/off
aliases - added for CoffeeScript compatibility, but now with coffee2ls, this is not an issueMore controversial:
@
::