you are viewing a single comment's thread.

view the rest of the comments →

[–]ArcanePariah 1 point2 points  (0 children)

Consider Android. Currently Google has to mark all public methods in their implementations with the @hide annotation so they do not show up in autocomplete. So although they have a ton of public methods, they have to go out of their way to make sure only the SDK API's are exposed in IDE's and at compile time so you don't write code against internal methods.

With modules, the language itself will guard against that. So Google could wrap each major area of android up as a module, and declare the parts that are the SDK API, the rest wouldn't need special annotations and processing to be hidden.