Skip to content

Factory isn't necessary #7

@mpmenne

Description

@mpmenne

So one thing about moving to Spring is that you no longer have to rely on the Singleton and Factory design patterns. You may still use them every now and then, but in general they won't be necessary.

The methods in your Factory class could work very well on some type of a "Currency" class

Think about how you can build an object that encapsulates the necessary logic as well as all of the data being used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions