Is there any reason in a Java program for a special naming for a function arguments?

Posted by gasan on Programmers See other posts from Programmers or by gasan
Published on 2012-04-16T07:36:15Z Indexed on 2012/04/16 11:44 UTC
Read the original article Hit count: 239

Filed under:
|

I'd like to know, why would I want to have a special prefixes for a function arguments, like "p_name", "p_age", "p_sex"? On the one hand it helps to distinguish parameter from local variable or field further in the function body, but would it help? On the other hand, I didn't saw such naming recommendations anywhere including official Java language conventions. Please advise any reasons for using such naming policy

© Programmers or respective owner

Related posts about java

Related posts about naming