You could assert. You could throw. I can’t understand how, this modern age where so many programs end up getting hacked, that introducing more UB seems like a good idea.
This is one odd the major reasons I switched to rust, just to escape spending my whole life worrying about bugs caused by UB.
This is one odd the major reasons I switched to rust, just to escape spending my whole life worrying about bugs caused by UB.