Skip to content

Conversation

@shaynmorgan
Copy link

Major Changes

  • Creation of CoordinateFactory class to implement Factory design pattern, creation_type is a parameter which determines which constructor is called, either Longitude or Latitude.
  • The corresponding Coordinate type is then created
  • Abstraction of Coordinate class which is a superclass to the two symmetrical classes Latitude and Longitude, for the CoordinateFactory implementation.
  • Coordinates class is a composition of Latitude and Longitude.

@Kilo59 Kilo59 closed this Aug 21, 2021
@shaynmorgan shaynmorgan changed the title Implementation of factory structural design pattern Implementation of factory creational design pattern Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants