Skip to content

Comment on Why the "private" keyword is the modern day "goto"parent

Comments

Not sure I agree. As soon as something is public, it's part of the interface. That means the usual rules of stability/back-compatibility will apply to it as well. If you don't want that, or you're not sure you want that, then that's a valid reason to make something private in my opinion.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.