Re:How an Engineering Company Chose to Migrate to D
by WalterBright on Wednesday June 20, 2018 @02:19PM
(#17358094)
The equivalent in C is code blocks connected with gotos. In my conversions of C code to D, I'm able to replace these gotos with nested functions, which makes the code significantly easier to read.
Nested functions were a very common pattern on languages like Pascal, Modula or oberon. They are equivalent to code blocks inside a function in C.