Hacker News new | past | comments | ask | show | jobs | submit login

> I suppose it could have been called 1.10 but there were > presumably good reasons.

If I remember correctly, that's due to the way ruby sorts strings

  ['1.8','1.9','1.10'].sort  #=> ["1.10", "1.8", "1.9"]



Ah. Maybe it should have been done in hex?

  %w[1.8 1.9 1.A].sort  #=> ["1.8", "1.9", "1.A"]




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: