• vithigar@lemmy.ca
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    2 days ago

    Ugh. Literally refactored multiple factories into straightforward functions in the most recent sprint where I work.

    Someone saw a public factory method which was a factory for a reason and just cargo culted multiple private methods using the same pattern.