Re:Why does sorting in computer science mean ordering rather...
by jfoutz on Wednesday September 05, 2018 @03:46PM
(#17921278)
lego is funny, if you have a pile of red 'stuff' it's hard to pick out the 2x8. however, if you have a pile of 2x8s, it's really easy to pick out the red one.
size/shape is far more useful.
Re:Why does sorting in computer science mean ordering rather...
by tomgp on Thursday September 06, 2018 @04:54AM
(#17924817)
This is a well known idea in data visualisation -- first articulated by Jaques Bertin back in the 60s (I think). Colour is known as a selective visual variable; selective variables are better used to represent categorical data as they "enable us to immediately isolate all correspondences belonging to the same category". i.e. sort your lego by bricks type rather than colour, though sorting by colour will lead to more instagram likes :)
Re:Why does sorting in computer science mean ordering rather...
by jayd16 on Wednesday September 05, 2018 @06:40PM
(#17922468)
Hmm, when playing with lego, I usually don't know what shapes I need but I often know what color I want.
If I was sorting lego blocks I don't know if I would do it first by color and then by size/shape (here are all the 2x8s, here are all the 1x4s, etc.), but it would definitely be by category.