On Wednesday, 29 June 2016 at 15:33:58 UTC, Guido wrote:
The problem is actually much more profound. The classes need to
be declared outside the main() scope. WTF?!?!?!
I put them in main() so they would be in scope. This seems like
a *MAJOR* design flaw with the language, not to mention the
compiler not giving useful feedback. This decision, if it is a
decision, makes no sense given all the attention to scoping
rules.
I'm not interested in trading one set of bad language decisions
for another. Can someone fix this?
I wonder which language you usually use in your programming
experience.