Member since
I like the idea, but I really don't like the proposed syntax. It looks like I'm reading a totally different language. I could get behind this if the syntax was prettier.
I like how this solves updating existing interfaces without breaking user facing code.
I love this proposal. It basically makes closures up to date with other programming languages, and is sorely needed in my opinion.
Makes code more clean because it is shorter and the use
keyword is not needed anymore.
We spend a lot more time reading code than writing it. The elegance of short closure combined with the convenience of variable scope usage has already shown to be a game changer on Typescript and there doesn’t seem to be any technical issue with having it on PHP.
At least once a week, I throw away an array_map because it ended up looking too bloated and go with a classic foreach instead. Short Closures 2.0 without the use(...) block would've solved this problem, just 2 votes...