3 ms·
> "...isn't it an indication of bad design?" No. See https://en.wikipedia.org/wiki/Goto#Common_usage_patterns https://en.wikipedia.org/wiki/Goto#Common_usage_
by ThrowawayR2 5y ago
> "...isn't it an indication of bad design?"
No. See https://en.wikipedia.org/wiki/Goto#Common_usage_patterns https://en.wikipedia.org/wiki/Goto#Common_usage_patterns It's still used in systems programming contexts and in machine language, where there are no branching constructs other than conditional or unconditional jumps (i.e. "goto").
- soheil 5y ago> systems programming contexts What does this mean? > machine language We're talking about C.
- AnimalMuppet 5y ago> > systems programming contexts > What does this mean? It means operating systems and similar places.
- soheil 5y agoI feel like if goto is bad design it should be specially avoided in operating systems since they are so crucial to everything a computer does if it’s good design then why not adopt them in applications?
- deleted 5y ago[deleted]