Yikes, I don't see any legitimate use for this, other than hacking for the sake of hacking. Interesting read though.
I’ve seen this in large C++ systems to allow for a runtime patch, generally to add a simple debug call at the start of a function.
Well, we are on Hacker News after all...
Hot reloading for development loops is _the_ canonical use case for this.