|
|
|
|
|
by WalterBright
2487 days ago
|
|
> It’s just that their syntax is awful. I want to expand a bit on that. In the evolution of D, I have a front row seat on how people use it. It's hard to downplay how relatively minor syntactical changes can have a heavy influence on the programming paradigms people select. It's startling. People will often say "but I can do that, too, in my favorite language X", and they are correct. But they don't actually do it in X because it's inconvenient. For example, D has a built-in syntax for unittests. That gets pooh-poohed a lot as being pointless. But it's hard to argue with how transformational that has been for D programs. People expect unittests when writing D code. They didn't before. Unittests often occupy more lines of code than what they tested. The addition of a very minor bit of syntactic sugar changed the whole way people write D code. |
|