3 ms·
I have many complaints with java, but this: "Java is pretty bad at producing portable one-liners. In my opinion that’s because of the public/private feature (c
by hutzlibu 10y ago
I have many complaints with java, but this:
"Java is pretty bad at producing portable one-liners. In my opinion that’s because of the public/private feature (completely unnecessary), "
was the point, when I stopped taking him seriously.
- awinter-py 10y agoI'm sensitive to the argument that public/private rules improve maintainability of libraries by shrinking the exported API. Maybe, but that's a maintainability argument, not a usability/reusability argument. It's hard to predict which part of your program developers are going to need. Also, 'private by default' prevents the gradual modularization of code that happens in languages lacking visibility rules.