3 ms·
Everything except the import looks like standard c++ since at least 98.
by hardlianotion 9mo ago
Everything except the import looks like standard c++ since at least 98.
- WalterBright 9mo agoC++ 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.