Hacker News new | ask | show | jobs
by turndown 1043 days ago
Any look into this will show that C's designated initializers are significantly more flexible/better in every way.
1 comments

It’s amusing to me that whenever C has a feature that C++ doesn’t, C programmers hammer on the usefulness and power of said feature, but on the converse those same C programmers hammer on the divine simplicity of C.

C++ has constructors, it doesn’t really need designated initializers in the first place. They were added primarily for C compatibility.