|
|
|
|
|
by Xirdus
27 days ago
|
|
In other words, as of 2026, this phrase: > if what you mean is, you haven't seen macros used in ways that make you wish your day-job programming language had macros, that's fixable. is not true at all anymore? Or is it only true under very specific circumstances (if so, what are they)? |
|
Also true if you want a shorthand syntax for defining a variable where the name of the variable is meaningful. JavaScript takes care of the most common case with destructuring assignment, but with macros you could make such syntax yourself.