News for hackers. Stuff that matters.
Re:Difftastic: A diff that understands syntax by vanderZwan on Wednesday March 30, 2022 @06:04AM (#30853248)
I don't know about Ruby, but one example I can think of where a language made the instability explicit is that early on in the language Go changed the behavior of the select statement:

> If one or more of the communications can proceed, a single one that can proceed is chosen via a uniform pseudo-random selection.

https://go.dev/ref/spec#Select_statements

In an early implementation it would pick in lexical order, IIRC (and the specification did not mention how a communication should be picked). Not only could this lead to bugs, apparently some people were relying on it and they didn't want that.

There are no comments on this comment yet.