This is not accurate.

Naming should be done after the role the object is playing.

If you have a father and a son they both belong to class 'Human' but they should not be named human1 and human2

Written by

I’m senior software engineer specialized in declarative designs. S.O.L.I.D. and agile methodologies fan.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store