4 ms·
A requirement to stick #version 1.0 at the top of code files so we know which version they were intended to be compiled with, such that in future we can introdu
by sparkie 11y ago
A requirement to stick #version 1.0 at the top of code files so we know which version they were intended to be compiled with, such that in future we can introduce breaking changes into version 2.0 and still have support for compiling legacy 1.0 applications.
Seriously, nearly all data storage formats we use today have some kind of version number in them - why are we treating code as dumb text rather than interesting data?
- Rusky 11y agoThat probably fits better in Cargo.toml, where it's also a lot less work to add later.