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

"You can inspect types and build new types at compile time" is a key affordance of dependently typed languages.
 help



I agree. I am not terribly convinced by C++ or Zig's comptime. You should be able to do this at run-time, and then just be able to make it a constant.



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

Search: