DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2714
Version: 1.3-current


I agree that it would be nice to have now shadowing, but I also don't like
the underscores. I have seen naming schemes that prepend or append an A
for argument, using various kinds of Camel Humps.

draw(int aX int aY, int aWidth, int aHeight)

The issue is with Doxygen though. A method like draw(int x, int y, int w,
int h) is kind of self explanatory, and using meaningful and readable
variable names is very helpful here. 

The other options would be to use quite verbose names, but who will do all
the typing, for example:

draw(int xPosition, int yPosition, int width, int height)

and even with those we may get shadowing... .


Link: http://www.fltk.org/str.php?L2714
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to