D is one of my favorite programming languages for all the usual reasons.
It’s a fast language — comparable with c++, but still provides
the conveniences I’ve come to expect having started on languages like
java and PHP.
You get great (almost pythonic) list comprehensions, built in
facilities for documentation, garbage collection,and (my personal
favorite) unit-testing tools right out of the box. On the other side of
the spectrum, you get static typing, optional manual memory-management
and a powerful template system.
When I first learned about D, I dove into a few huge projects that were
way beyond me at the time. I never finished any of them, but I did end
up implementing a small JSON tool as part of my efforts. At the time,
phobos’s (the D standard library’s) JSON module wasn’t all there.
Let’s look at some D — here’s the unit-test I wrote for my JSON
class