News for hackers. Stuff that matters.
Re:Green vs. Brown Programming Languages by gpm on Friday April 23, 2021 @11:21AM (#26915651)
Difference cause of a similar issue. A fair bit of go code relies on reflection to list the fields of a struct and decide what to do, so e.g. if you change the name of a field in a struct and you happened to be serializing the struct somewhere else the serialization will change even though nothing near to the name change suggested that the struct was ever being serialized in the first place.

Apart from serialization I've also seen this with ORMs, and some of internal code for metrics. I imagine there are other cases too... but while I currently work in go I'm not really that much of an expert in the language.

There are no comments on this comment yet.