|
|
|
|
|
by dhruvrajvanshi
404 days ago
|
|
There is something to be said about pushing such things to runtime checks. I'm not arguing for giving up type systems in general, but I'd rather read something like `class VersionString` that asserts the requirements in the constructor. If it really matters, you can check this at run time but before releasing using a test. Like what exactly are you trying to get from autocomplete in a version string literal? |
|