Timeline for What are the benefits of prefixing function parameter names with p*?
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 27, 2018 at 22:14 | comment | added | Justin Time - Reinstate Monica |
Personally, I prefer to abbreviate the parameter name in that case (e.g., Paint (clr) { color = clr; } ). ...There usually isn't much ambiguity, although color -> clr in particular may be an exception.
|
|
Aug 17, 2012 at 14:25 | history | answered | Aaron Kurtzhals | CC BY-SA 3.0 |