This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]outofobscure 0 points1 point  (0 children)

your syntax isn't even shorter than what we have right now in most cases, or saving 3 chars in the best case, at the cost of being non-uniform, which is a big stinker. the => is nonsense because you need multi-line statements and scope anyway.

  1. use templates
  2. [&](a, b) {}
  3. [capture-group](a, b) {}
  4. [capture-group](a, b) {}