4 ms·
I've previously used it a couple of times, I've used it to build webapps (using vibe.d) and plain binaries. It's a fun language but very big. What I mean by a
by Alifatisk 3y ago
I've previously used it a couple of times, I've used it to build webapps (using vibe.d) and plain binaries.
It's a fun language but very big. What I mean by a big language is that the syntax is very large.
Its very flexible, you can meta-program a lot in it and its easy to fall into that.
What I enjoyed the most with D was how easy it was to get started AND to prototype! Really, D could be treated as a scripting language to quickly test your ideas. And when you're ready, you can scale D into a large sized project.
I mentioned in a previous thread that the BetterC flag is a pretty cool feature that some C / C++ programmers might enjoy.
What did I not enjoy with D you might ask?
The error logs or stacktrace could be too verbose and confusing, I was (and still am?) junior to writing low-level code. And last time I used D was like 4 years ago, and I remember back then when I stumbled upon issues or errors I could not figure out the cause of, it was fustrating.
- yawniek 3y agoPretty much the same experience. It is an awesome language, probably still my favourite. What i did not like is the inconsistent apis and missing basic protocol implementations in the standard library. Someone should write an heavily opinionated standard library like go has, with basic http,mail, dns etc support. Then D would really be a superpower
- Alifatisk 3y agoYeah, sometimes when I've felt like Phobos is lacking (https://dlang.org/phobos https://dlang.org/phobos) I turned to the community made packages (https://code.dlang.org https://code.dlang.org) But things might have changed a lot since I used it last time.
- pjmlp 3y agoThe problem with such a small community, is that users from community made packages are expected to fix them when they no longer work with latest compilers.