News for hackers. Stuff that matters.
Re:Async Ruby by jazzyjackson on Saturday October 30, 2021 @08:53PM (#29053566)
What do musical scales have to do with it? (Modality :P)

"coloring" goes back before a few blog posts, it was probably popularized with programmers that keep up with crypto, as 'colored coins' are described in an influential paper right around the creation of Ethereum (Vitalik is one of the authors)[0], but I found some earlier references too, like coloring a complex plot to add a dimension [1], so carrying it over to computer programming, you have functions that have otherwise identical signature that you need to distinguish, so you make them different colors.

[0] https://docs.google.com/a/buterin.com/document/d/1AnkP_cVZTC...!

[1] https://en.wikipedia.org/wiki/Domain_coloring

Re:Async Ruby by tyrfing on Sunday October 31, 2021 @02:09AM (#29054832)
Coloured Petri Nets predate both and are relevant to crypto, I don't know enough to say if the idea was math/compsci jargon prior to that as well.

https://en.wikipedia.org/wiki/Coloured_Petri_net

Re:Async Ruby by jazzyjackson on Sunday October 31, 2021 @04:36AM (#29055478)
Thanks! Didn’t know about Petri nets, makes me wonder if this all didn’t start with Red/Black binary trees, so named because that’s the two colors of ink they had on hand, cited 1978:

https://softwareengineering.stackexchange.com/questions/1166...