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

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?



That probably fits better in Cargo.toml, where it's also a lot less work to add later.




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

Search: