Talk:Blogs:JaroslavTulach:Practical Design:FixModifiers
From APIDesign
Revision as of 01:05, 26 March 2009 by 98.207.47.135 (Talk)
Comments on Blogs:JaroslavTulach:Practical Design:FixModifiers <comments />
Comments on Blogs:JaroslavTulach:Practical Design:FixModifiers <comments />
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)