|
|
|
|
|
by teleforce
18 days ago
|
|
I think D got it right by not supporting any macro, and become very fast in compilation while being consistent in the syntax, easier to maintain and debug. This remind me of a famous quote, "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." D also show the programming world that you don't need to go macro, or Ruby styled 'macro' that can create complicated franskeintein codes in order to achieve good metaprogramming capability [1]. [1] Metaprogramming is less fun in D (88 comments): https://news.ycombinator.com/item?id=14165198 |
|