Talk:Blogs:JaroslavTulach:Practical Design:FixModifiers

From APIDesign

(Difference between revisions)
Jump to: navigation, search

98.207.47.135 (Talk)
(Comment provided by Ezward - via ArticleComments extension)
Next diff →

Revision as of 01:05, 26 March 2009

Comments on Blogs:JaroslavTulach:Practical Design:FixModifiers <comments />


Ezward said ...

How about access modifiers for function arguments. Java is a pass-by-reference language. Therefore, anything I pass in may be modified by function I am calling. Also, the reference may be null. I would like a modifier that specifies that an argument may not be null. I would also like a modifier that specifies that an argument is read-only: it may not be modified.

--Ezward 02:05, 26 March 2009 (CET)

Personal tools
buy