is public the default or not?
fraserofthenight at gmail.com
Fri May 23 05:04:34 PDT 2008
Tower Ty wrote:
> is public the default or not?
> If so why are all the functions/methods in dwthelper.utils.d marked private . Does that do something that I have missed or are they just superfluous?
> some are public static
Public is the default. If members are private it is an error to access
them from outside the module. Marking something "public" at the module
level (or anywhere else it would be public by default) helps readability.
More information about the Digitalmars-d-learn