Hacker News new | ask | show | jobs
by BystanderX 4847 days ago
Hell will surely descend upon me, but I'd vote for having it be syntactic sugar for => in general.
1 comments

You can already use the js-style shorthand inside of Twig templates, and I've been caught absentmindedly forgetting to switch to the 'proper' way for raw php now and then. And I would like to never need to even touch the shift key when having to write out an array or an object but even JSON won't let you do that. It's a step in the right direction, though.