2025-09-02 11:06 AM
Hi ST,
i have one question for you. Could you please make "examples" more messy? Is it even possible? Lets see, i believe you can do it even worse.
To be honest, i have never saw this nonsense and mess in my life. And i have also worked as ABAP developper.
Have you ever heard about rule, that strongly recommends NOT to use "goto"? No? I thought so.
Have you ever heard about spaghetti code? Because you created one really huge.
That example about UsbX for Stm32u5 is awfull. Who did it? Intern? Student?
What is wrong with you? Even renesas is now better than you.
2025-09-02 3:03 PM
> Have you ever heard about rule, that strongly recommends NOT to use "goto"?
AFAIK there's no such rule. Some projects and teams have their coding& style standards, others have other standards. In plain C, goto often helps reducing cyclomatic complexity.