Re:D 2.093.0
by hellofunk on Thursday July 16, 2020 @05:09PM
(#23863830)
It would seem that D and Nim have many similar goals and features.
[ Parent
| on HN ]
Re:D 2.093.0
by tastyminerals2 on Friday July 17, 2020 @01:42AM
(#23867450)
Yes, they are frequently compared. If you like style-insensitive (case insensitivity, underscore ignored) languages with hacker mentality, Nim is for you. This is simply a no-go for me. I briefly tried Nim before even knowing about D and it never stuck with me due to awkward syntax (subjective). Later I learnt that Nim (being a younger language) frequently breaks backward compatibility. Maybe it changed now but all the above was enough to pass it and move on.
What I dislike is the {. .} annotations, Active Oberon also followed that path and I don't find it that great.
Re:D 2.093.0
by throwaway_pdp09 on Friday July 17, 2020 @03:48AM
(#23868202)
Some context would be nice - can you say a little more on that annotation please.
That is how Nim does pragmas,
https://nim-lang.org/docs/manual.html#pragmas
And Active Oberon as well (here called flags),
http://cas.inf.ethz.ch/projects/a2/repository/raw/trunk/Lang...