Hacker News new | ask | show | jobs
by javcasas 983 days ago
On a general case, yes. But we are talking about Stack, a system for managing software dependencies. When was the last time you put numbers intended to be real numbers in a dependency declaration file? In different words, when was the last time you added, subtracted, multiplied or divided versions?

Version numbers are always strings with special comparison semantics.

1 comments

I'm sorry, but I fail to understand the point you are trying to make.
Their point is that standard YAML is a poor fit for dependency config files.
My point is that all the numbers in a dependency configuration file should be automatically converted to strings, because they are really strings. Yaml doesn't do that.