Y
Hacker News
new
|
ask
|
show
|
jobs
by
coldpie
2155 days ago
Yes. Caring about backwards compatibility is a whole universe of compromises.
1 comments
agnokapathetic
2155 days ago
There is speculation the reason Windows jumped from version Windows 8 to Windows 10 is that too many things were string matching (version ~= "Windows 9\d*")
link
richardwhiuk
2155 days ago
or just .startsWith("Windows 9")
link