Is D really that bad?

rikki cattermole rikki at cattermole.co.nz
Fri Nov 4 14:13:59 UTC 2022


On 05/11/2022 3:09 AM, Walter Bright wrote:
> On 11/3/2022 8:24 PM, H. S. Teoh wrote:
>> Java allows multiple classes in a module,
>> provided only one of them is a public class. You can have an arbitrary
>> number of private and nested classes within a single module.
> 
> That "one public class" is the module.

Just so ugh we keep things to the correct terminology (for other readers):

Java has modules. They are not mapped to a file. The above is regarding 
files not (Java) modules.

https://en.wikipedia.org/wiki/Java_Platform_Module_System


More information about the Digitalmars-d mailing list