Newbie OO q: What’s the benefit/use case of sealing or making an object final? My experience is in javascript so I wonder why I’d ever need something like Object.seal or Object.freeze. Is it really that difficult to maintain object instances that do not change after some point?
It's just a tool to enforce the hierarchy in code. Once the codebase gets big it's hard to remember all the details about your API.