michaelnguyen547's avatar

feedback on naming class

I have 2 classes: DistanceMatrix and VehicleTypeDistanceMatrix

DistanceMatrix takes an orign and destination, its job is to find on travel time and distance

VehicleTypeDistanceMatrix takes an origin and a vehicle type, its job is to find the average wait time.

I m not happy with the naming. It does not convey the meaning well.

0 likes
1 reply
ahmeddabak's avatar

You can use any name you like, what i often do in such situations is to look for synonyms for the word i have, then i select the one that fits to the job

thesaurus.com

Please or to participate in this conversation.