Conversation

i know there has been a lot of ‘goto’ hate lately, but I started programming in C with Windows Drivers and ngl it’s my fav way to code. Readable code flow and easy to “cleanup” after reaching a failure point
Quote Tweet
Yes, I am using "goto" to make the code less bloated and avoid code duplication. It has never been a problem and when used properly this is not going to cause any issues. Early local stack variables also allow to properly handle cleanup (if any) before exiting the routine.
Show this thread
Image
47
262