Isn't the aim here to improve readability?
<- 2
easier to read than return 2
There are many more examples in the code, but I generally found the PHP code MUCH easier to read, and I don't know PHP very well. It could be that I'm biased towards C-like languages, but I doubt it; words are a lot easier to read than arbitrary symbols. ^ 2
since that is what is used in Smalltalk, but the left arrow makes me think I am missing what it should point to. 2
assuming you're at the end of a function. Coffeescript is the same iirc.