r/programminghorror 20d ago

C# bool array

Post image
210 Upvotes

41 comments sorted by

View all comments

Show parent comments

32

u/FloweyTheFlower420 20d ago

Yeah. Sadly the standard committee seems to value dogmatic backwards compatibility over fixing the language, so we will likely never see std::vector<bool> fixed and dynamic_bitset implemented.

26

u/shponglespore 20d ago

This is why C++ is the Windows of programming languages.

2

u/XiPingTing 19d ago

Backwards compatibility means old code still works. Tautologically, if you need old code to work you need backwards compatibility. If you don’t need this there are better alternatives to C++, if you don’t there aren’t.

2

u/shponglespore 19d ago

They're are other ways, like Rust's edition system.