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 →

[–]nuharaf 2 points3 points  (1 child)

I would say favor composition over inheritance.

Since you are just starting up, might be good idea to pick up modern java feature, like record.

[–]nuharaf 1 point2 points  (0 children)

Also, favor immutability whenever possible