News for hackers. Stuff that matters.
Re:How an Engineering Company Chose to Migrate to D by pmarin on Wednesday June 20, 2018 @02:05PM (#17357932)
>The need for nested functions bugged me as well. That seems like an odd deal-breaker and hints at code smell

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.

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.
Re:How an Engineering Company Chose to Migrate to D by _veelo on Wednesday June 20, 2018 @02:08PM (#17357979)
Indeed, it serves encapsulation.