codeinabox@programming.dev to Programming@programming.devEnglish · 1 个月前I keep tripping over “true, false, true”allthingssmitty.comexternal-linkmessage-square28fedilinkarrow-up164arrow-down11cross-posted to: [email protected]
arrow-up163arrow-down1external-linkI keep tripping over “true, false, true”allthingssmitty.comcodeinabox@programming.dev to Programming@programming.devEnglish · 1 个月前message-square28fedilinkcross-posted to: [email protected]
minus-squareTomasEkeli@programming.devlinkfedilinkarrow-up3·1 个月前Opinion: if the method takes a boolean it should be split to two methods. If it takes two bools it’s four methods in a trench-coat.
Opinion: if the method takes a boolean it should be split to two methods. If it takes two bools it’s four methods in a trench-coat.