News for hackers. Stuff that matters.
Re:Java in the Small by Joker_vD on Wednesday December 18, 2024 @09:04PM (#42457622)
I know, right?

> So you don't need to worry about functions floating around in a global namespace soup.

Because having classes floating around in a global namespace soup is fundamentally different and should give no worries to anyone. Yet this was argument made in earnest back when arguments about Java's strengths and weaknesses were much more popular.

Re:Java in the Small by lmz on Thursday December 19, 2024 @12:20AM (#42458632)
There's always going to be a namespace soup but at least in Java there's only one kind of thing in the soup.
Re:Java in the Small by Joker_vD on Thursday December 19, 2024 @03:06AM (#42459437)
The famous "anemic namespace soup" language design pattern.
Re:Java in the Small by lazide on Friday December 20, 2024 @12:54PM (#42473198)
Hey, it could be Perl!
Re:Java in the Small by lmz on Saturday December 21, 2024 @08:29AM (#42479543)
With the 1:1 intended correspondence of (public?) class names to source file names I get how that could be considered a feature for ease of use, compared to C++ where any file could define any name.