Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's a good thing but due to D syntax it is very intuitive and pythonic due to the default GC, in addition to the UFCS feature that I've mentioned compared to C with its agrarian syntax. That's the main reason we have C shell scripting in the form of csh with more intuitive syntax for example foreach loop that D has already supported [1].

But if you insist, D now supports and can compile C language that you can perform using rdmd [2].

[1] C shell:

https://en.wikipedia.org/wiki/C_shell

[2] Adding ANSI C11 C compiler to D so it can import and compile C files directly (105 comments):

https://news.ycombinator.com/item?id=27102584



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: