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

Packed boolean arrays are an entirely different thing; as a matter of fact they are arrays, not a primitive data type.

The boolean primitive data type is a standard in modern languages. Take any language: Rust, Go, Zig... and C99 (kind of).

In C89, a project may use enums. Another macros. Another ints.



Yes and im saying they may have good reason to use different types because they have different requirements.




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

Search: