1. kevglass
  2. slick
Issue #20 new

naming of methods arguments

Anonymous created an issue

For fluid programming it is really important to use speaking names for variables, constants and also method arguments.

It's quite annoying when using Slick2D methods to get unhelpful hints about method arguments like "methodThisAndThat(int arg0, int arg1, boolean arg2)"

Theres no chance to know (without checking the documentation) what e.g. the second int value does or what the boolean value is used for.

Much better it would be to get suggestions from Eclipse like "methodThisAndThat(int width, int height, boolean useFullscreen)"

Please change the argument names to meaningful words. It makes the otherwise very good and useful Slick2D library much more convenient to use.

Comments (0)

  1. Log in to comment