←Older revision | Revision as of 22:14, 25 March 2009 | ||
Line 9: | Line 9: | ||
Can it be fixed? Well, it would require addition of new modifier(s) into [[Java]]. That is too risky change! On the other hand, may it is not. It turns out that ''JDK7'' is about to add new access modifier '''module'''. But that plan does not improve the [[Java]] [[API]] design situation at all. Can't we instead add the '''callable'''/'''callback'''/'''slot''' ones proposed by [[ClarityOfAccessModifiers]] essay!? | Can it be fixed? Well, it would require addition of new modifier(s) into [[Java]]. That is too risky change! On the other hand, may it is not. It turns out that ''JDK7'' is about to add new access modifier '''module'''. But that plan does not improve the [[Java]] [[API]] design situation at all. Can't we instead add the '''callable'''/'''callback'''/'''slot''' ones proposed by [[ClarityOfAccessModifiers]] essay!? | ||
- | That would work beautifully. New [[Java]] modules could use the old damn '''public''', '''protected''', etc. for their internal purposes. Such methods would not be visible in module [[API]]s at all (so it does not matter those modifiers are ''fuzzy''). Whoever | + | That would work beautifully. New [[Java]] modules could use the old damn '''public''', '''protected''', etc. for their internal purposes. Such methods would not be visible in module [[API]]s at all (so it does not matter those modifiers are ''fuzzy''). Whoever wished to provide a module [[API]] would have to use the new, conceptually sound '''callable'''/'''callback'''/'''slot'''! [[Java]] [[API]]s would become cleaner, their [[clarity]] would suddenly increase and no [[API]] designer would ever make those stupid and [[AlternativeBehaviour|so hard to fix mistakes]] caused by double meaning modifiers. Let's make a [[Java]] better place! |
Thanks for reading my ''open letter'' and thanks for making [[Java]] better. | Thanks for reading my ''open letter'' and thanks for making [[Java]] better. | ||
+ | |||
+ | <comments/> | ||
--[[User:JaroslavTulach|JaroslavTulach]] 22:06, 25 March 2009 (UTC) | --[[User:JaroslavTulach|JaroslavTulach]] 22:06, 25 March 2009 (UTC) |