Well I could name slicing and meta programming (templates, traits, mixins). But in reality it is more the feel of the language. It is easy to read, (in D I even understand programs written by other people!), it is powerful. Due to its meta programming techniques it has much of the power typically only found in dynamically typed languages, but with the safety and speed of compiled, statically typed language.
Typically when a language becomes powerful, it also becomes complex and hard to learn, I think D did a really good job in being one of the most powerful languages out there but still being "easy" to learn and understand, in particular easy to read. The concepts are sound and well thought of. It is fun to use it. The down side is, that it is far less mature than C or C++. One of the things that convinced me, was slices and the way the GC is put to good use. Things that make me stick to it, are the meta programming capabilities, its power and its design. Best regards, Robert On Tue, 2013-01-22 at 12:17 +0100, MMj wrote: > On Tuesday, 22 January 2013 at 10:45:27 UTC, deadalnix wrote: > > On Tuesday, 22 January 2013 at 09:27:22 UTC, MMj wrote: > >> Hello Folks. > >> How are you? > >> Excuse me, I need a trust about D programming and C, In your > >> opinion D can be a replace for C? > >> Why a user should use D? > >> Please let me know your opinion. > >> > >> Thank you. > >> Cheers. > > > > It really depend on what you try to achieve. But in many case > > it is a viable alternative. In other, things need to be ironed > > out. > > I saw D wiki and understand some goals about but Can you tell me > why you choose D and not C?
