Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all articles
Browse latest Browse all 2097

private vs protected

$
0
0
I'm a big fan of inheritance. It lets you build on someone else's work without needing to clone or fork it, plus you automatically benefit from future fixes and enhancements. Seems perfect for open source development, right? I can't help noticing that everything in the ArcGIS Flex Viewer and its widgets are declared private though, making inheritance impossible. Is there a reason why everything is private and not protected?

Viewing all articles
Browse latest Browse all 2097

Trending Articles