3 ms·
I'm really excited by this! I haven't been keeping up with the 2022 stuff, and I'm quite pleasantly surprised. I will admit to not liking using '@' for notatio
by foerbert 4y ago
I'm really excited by this! I haven't been keeping up with the 2022 stuff, and I'm quite pleasantly surprised.
I will admit to not liking using '@' for notation much at all in any language - never mind Ada - but I'm really looking forward to having a solution for the problem it solves. I do love me some long names, probably even by Ada standards, so it really will be quite nice. I also can't really think of a good viable alternative beyond simply replacing it with a symbol I just happen to find more visually appealing. So... oh well. It'll probably fade into the background soon enough.
- touisteur 4y agoI was also worried about @ but it feels OK after some time. What I really like is the new delta notation. Makes for far more concise but still readable aggregate handling. For once, going in the right direction for readability. Plus, it helps expressing intent and removed some proof burden ("yes I'm passing a whole structure but I'll be modifying only field x and y").
- glacia01 4y agoJust for context, people asked for C "+=" type of assignment since Ada 83. Target Name Symbol solves that. Note that Target Name Symbol is actually more useful than C "+=", since you can do stuff like My_Data (To_Index (1)) := @ * 2 - 3.0 * @;