News for hackers. Stuff that matters.
Re:Goto and the folly of dogma (2018) by seanmcdirmid on Thursday May 23, 2019 @02:06AM (#19988926)
> Adder AA; A=AA.Add(B,C)

Did anyone actually ever do that or is this just a huge red herring?

Also, the above looks more like a data flow language where adders are necessarily components in the wiring diagram (try building a CPU without adders!).

Add can be a virtual method on B (so B.add(C)), but then you really want Dylan-esque multidispatch on both B and C. But those kind of debates fell out of style with the 90s.

Re:Goto and the folly of dogma (2018) by maxxxxx on Thursday May 23, 2019 @10:28AM (#19992099)
“Did anyone actually ever do that or is this just a huge red herring?”

Yes people did that and still do.

Re:Goto and the folly of dogma (2018) by worik on Thursday May 23, 2019 @03:30AM (#19989381)
Borland C++ windows toolkit back in the early nineties would do that sort of thing, if memory serves.

Really deeply convoluted OO.

Re:Goto and the folly of dogma (2018) by pjmlp on Friday May 24, 2019 @09:51AM (#20001434)
And way better than MFC or ATL ever were.
Re:Goto and the folly of dogma (2018) by jeltz on Thursday May 23, 2019 @11:50AM (#19992824)
Yes, it was a real issue. I have once had the misfortune to have to work on such a project, it was the by far hardest legacy code base to understand of any I have seen (even compared to those written be self taught PHP guys or those from academia).