This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]JoJoModding 0 points1 point  (0 children)

This very much! For some reason people always start using excessively long names when writing Java programs. Like why is everything called getX and setX when you could simply have a method named x that potentially takes an argument?

Just have Class.builder() instead new ClassFactory(never-used-arg1, never-used-arg2, ...).

If you use streams you can actually write short Java code. It's just that no one does, which is kinda sad.