Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#172 Application::getApplicationPath should be protected

Release_1.3.6
open
nobody
None
1
2012-10-02
2012-10-02
David
No

getApplicationPath is a useful function. An application may want to know where it is in order to search for things along a default fault path. Since this function is private, I cannot inherit from Application and use it. In general, it is a bad practice to make anything private except when you want to disable it. protected is usually just fine.

Discussion