News for hackers. Stuff that matters.
Re:Idioms for the D Programming Language by WalterBright on Thursday February 11, 2021 @03:06PM (#26106418)
With D it is unnecessary to build projects out of multiple languages, as D supports conventional C type programming, template metaprogramming, OOP, and functional style. (It even has an inline assembler for metal style!)

Each of those paradigms has its place, and I enjoy being able to mix and match them as appropriate in the same program.

Re:Idioms for the D Programming Language by crazypython on Thursday February 11, 2021 @08:15PM (#26109744)
You can even use opDispatch to generate methods or values of a class at compile time based on the name, Python __getitem__/JavaScript Proxy/Ruby style.
Re:Idioms for the D Programming Language by dunefox on Friday February 12, 2021 @06:20AM (#26112468)
That kind of sounds like a worse Common Lisp.