CodyIT@programming.dev to Programming@programming.devEnglish · 1 month agoOOP is not that badosa1.netexternal-linkmessage-square58fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkOOP is not that badosa1.netCodyIT@programming.dev to Programming@programming.devEnglish · 1 month agomessage-square58fedilink
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up0·1 month agoWhy is the word factory a code smell?
minus-squarexigoi@lemmy.sdf.orglinkfedilinkEnglisharrow-up0·1 month agoIt means you’re compensating for the lack of oPtional/named parameters in your language.
minus-squaremagic_lobster_party@fedia.iolinkfedilinkarrow-up0·1 month agoSounds like you’re thinking more about the builder pattern.
Why is the word factory a code smell?
It means you’re compensating for the lack of oPtional/named parameters in your language.
Sounds like you’re thinking more about the builder pattern.