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

It's gross because it's written in "C with namespaces and overloading"

Preferring #define for constants over constexpr is 100% the result of C++ bigotry.

It's a laughable decision. constexpr gives you the power of typesafe, compile time evaluation of purely functional expressions with type deduction. #define gives you a compile time 1972-style copy-paste



I agree with things like these, I think Casey and other programmers like him are too far in the camp of C++ is just C with classes.

From what I have seen of the code and videos, I think his general structure of programs is off. I'm no advocate of "every function has to be at max N lines" or "every file has to be smaller than N lines". But I think there are issues there, and I don't think it can be defended just because it's a game, where a lot of general practices go out the window.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: