News for hackers. Stuff that matters.
Re:Why Not Just Do Simple C++ RAII in C? by fooker on Thursday May 23, 2024 @02:16PM (#40458000)
Have you wondered why Rust or Python do not have a specification?

For a bunch of languages outside the C-centric world, specifications don't exist.

Re:Why Not Just Do Simple C++ RAII in C? by fooker on Saturday May 25, 2024 @06:07PM (#40478208)
Documentation and specification are not the same things.

The intuitive distinction is that the second one is for compiler/library developers, and the former is for users.

A specification can not leave any room for ambiguity or anything up to interpretation. If it does (and this happens), it is treated as a bug to be fixed.