|
|
|
|
|
by justsaying9
1650 days ago
|
|
I'm a C guy and have played around with C++ back in the day, but have come to despise the language, with all of its increasing complexity, warts, design flaws, and footguns. I'm highly suspicious of Rust and Go as well. I prefer the C way of doing things, with no garbage collector, though I do tire sometimes of all the extra grunt work that goes into implementing anything in C. Looks like D has a lot of features geared toward making development faster, without loading up with too much complexity like C++. Just read about the 'better C' mode which sounds interesting. I like that it's made to integrate seamlessly with C libraries. Are there any good examples of larger programs or libs written in D you could point me towards, so I can learn by example the 'D way' of doing things? |
|
https://github.com/dlang-community/awesome-d
If you insist dissecting existing code, the Hunt library is well commented and seems more approachable. It uses OOP and some templates.