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

Amazing how the same data does make more sense visually when ordered this way but still not compared to ==='s straight line.

The author linked to a jsfiddle that I changed to use the same colors as the original table and improved the legibility a bit which you can find at http://jsfiddle.net/4c5z60qg/ or view as an image here: https://i.imgur.com/assIoqN.png



You can make it look prettier, but it doesn't make the underlying problem any clearer.

For example, few people would immediately be able to know where place the following into the table so that it still looked good:

['Infinity']

'0e1'

['infinity']

'0X0'

[false]

["+0.e4"]

[[[[1.,]]]]

and so on :) (A bit more time, and I could probably come up with even stranger examples).




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

Search: