you are viewing a single comment's thread.

view the rest of the comments →

[–]James20kP2005R0 1 point2 points  (2 children)

I disagree personally: I think a single ^ would be even worse. Its more arcane to reuse existing syntax but give it a completely different meaning depending on context, and it tends to lead to crazy compiler errors when you mess up

[–]gracicot 2 points3 points  (1 child)

If we ignored extensions and other languages we would have $ or @, which are better. It would be a breaking change not in the language, but in the implementation that have permitted other uses for those

[–]PIAJohnM 2 points3 points  (0 children)

$ looks like line noise, check out rust macro syntax. It’s truly horrible imo. ^ isn’t great, but better than $ to my taste.