💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱 to [email protected]English • 10 months agoIf a parameter isn't used, what should I pass? - The Old New Thingdevblogs.microsoft.comexternal-linkmessage-square10fedilinkarrow-up118arrow-down11cross-posted to: [email protected]
arrow-up117arrow-down1external-linkIf a parameter isn't used, what should I pass? - The Old New Thingdevblogs.microsoft.com💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱 to [email protected]English • 10 months agomessage-square10fedilinkcross-posted to: [email protected]
minus-square@bungle_in_the_junglelink7•10 months agoTotes this. I’ve refactored far too many of these things in my day so I just about always reach for an options object if there’s the slightest uncertainty about adding more params in the future.
Totes this. I’ve refactored far too many of these things in my day so I just about always reach for an options object if there’s the slightest uncertainty about adding more params in the future.