On Wednesday, 23 October 2024 at 18:39:15 UTC, H. S. Teoh wrote:
On Wed, Oct 23, 2024 at 06:10:07PM +0000, Anton Pastukhov via
Digitalmars-d-learn wrote:
On Wednesday, 23 October 2024 at 18:05:15 UTC, monkyyy wrote:
>
> Its intended and probably the right decision, but good luck
> finding relivent docs.
What's the motivation behind it? For me, it looks like a weird
edge case but I'm just probably missing something here
The key here is to understand that "alias" != "macro". If
you're looking for a way to shorten long expressions, `alias`
is not what you're looking for.
T
Well, I'm looking at Ali's book
http://ddili.org/ders/d.en/alias.html and it states that, among
other things, aliases are used to shorten long expressions. Not
sure how authoritative it is tho