Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is very confusing to have members like add(Object o1, Object o2) as members of the classes. This is counter-intuitive. Either there ought to be a supporter class with static members only, or the member of the type class expects only one argument.
So:
(thumbs down) vec1.add(vec1, vec2) #BAD;
(thumbs up) vec1.add(vec2) #GOOD;
(thumbs up) import static x.y.add; add(vec1, vec2); #GOOD

Using strings to access parameters

...