I found the analogy to be pretty accurate. It's very easy to shoot yourself in the foot with both goto and inheritance, it's common to see both of them abused, and in either case there are alternatives that generally equivalent but result in cleaner code.
Of course, both of them can also come in handy if you are careful and know what you're doing.
Of course, both of them can also come in handy if you are careful and know what you're doing.