3 ms·
Many people tend to assume goto is bad design, and while it definitely can be, there are some great uses for it especially on low level code. I feel like this
by kettunen 5y ago
Many people tend to assume goto is bad design, and while it definitely can be, there are some great uses for it especially on low level code.
I feel like this idea of goto being bad dates back to Djikstra's essay about the subject. I think quite often people tend to reference this and based on that declare that goto is always bad while missing the point that Djikstra was actually talking about goto being harmful when proving algorithms, not necessarily in real world code where there are great use cases for it when used in moderation.