2 ms·
As much as it's a crutch in programming language design to say "we don't have to worry too much about the lack of ergonomics in this case, it would be such bad
by pgwhalen 4y ago
As much as it's a crutch in programming language design to say "we don't have to worry too much about the lack of ergonomics in this case, it would be such bad code if this edge case gets run into in the first place," this seems like one of those situations.
Another point: IDEs will be able to tell you which main method will get chosen, which should eliminate at least some uncertainty.