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

Everything except the import looks like standard c++ since at least 98.




C++ does not allow forward references outside of structs. The point-of-instantiation and point-of-declaration rules for templates produces all kinds of subtle problems. D does not have that issue.

Yes, you absolutely can get the job done with C and C++. But neither is an elegant language, and that puts a cognitive drag on writing and understanding code.




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

Search: