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

I would have agreed with you if Qt used something like the #pragma directive. Alas, they decided to inject keywords inside of the standard language which breaks every C++ compiler.


then... turn off the keywords?

Every Qt "keyword" you talk about can be disabled with a fallback to namespaced macros.

foreach -> Q_FOREACH slots: -> Q_SLOTS

etc.




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: