logoalt Hacker News

HexDecOctBintoday at 12:13 AM1 replyview on HN

What is "stable shape"?


Replies

jfechertoday at 12:44 AM

Creator of Ante here. It's just a term I made up for mutation which does not change the "shape" of data in a way that can invalidate any of that data. Mutating a struct or tuple field, even if nested, is stable for example, but mutating an optional string to None is not because you may be dropping a string which there may be a reference to somewhere.

show 1 reply