Is D really that bad?

Ali fakeemail at example.com
Fri Oct 28 17:17:51 UTC 2022


On Friday, 28 October 2022 at 16:58:20 UTC, RubyTheRoobster wrote:
> but D is the only language that provides the metaprogramming 
> facilities that I need.

Can you elaborate more on this, can you give real life examples, 
on how this was useful
I think many languages, provide the benefits of metaprogramming, 
without necessarily calling it metaprogramming

for example:
1. Tcl everything is a string, and you have the eval function
2. Any dynamic language, that have an eval function, and where 
you can add a config file in code to your programs
3. lisp, every this is a list, and you can easily pass a function 
as a parameter
4. any language that have functions as first class objects and 
allow you to pass functions as parameters
5. any object oriented language, and it all really depend on how 
good your object model is
6. languages with metaobject

So can you give examples, of how D does those things better, or 
does things that others cant, code examples



More information about the Digitalmars-d mailing list