Is public by default an unsafe default?
Serg Gini
kornburn at yandex.ru
Fri May 3 11:10:08 UTC 2024
On Thursday, 2 May 2024 at 23:56:19 UTC, NotYouAgain wrote:
> So is public by default an unsafe default? Well in the context
> of the above, of course it is.
But isn’t it more about library/framework decisions, rather than
the language itself?
PHP has public by default, but frameworks are choosing their own
strategy:
http://fabien.potencier.org/pragmatism-over-theory-protected-vs-private.html
More information about the Digitalmars-d
mailing list