☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 days agoOOP theory vs practicelemmy.mlimagemessage-square49fedilinkarrow-up1189arrow-down13
arrow-up1186arrow-down1imageOOP theory vs practicelemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 days agomessage-square49fedilink
minus-squareundefined@lemmy.hogru.chlinkfedilinkEnglisharrow-up9·3 days agoFeeling attacked with Leggable and Fleable. I’ve been known to write a concern or two in Ruby on Rails but what can I say? I like my code DRY.
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up4·3 days agoMy biggest problem with it is that those aren’t verbs. You might have LegCount -> Countable and FleaCount -> Countable though.
minus-squareundefined@lemmy.hogru.chlinkfedilinkEnglisharrow-up3·2 days agoYeah, that’s pretty annoying.
Feeling attacked with
Leggable
andFleable
. I’ve been known to write a concern or two in Ruby on Rails but what can I say? I like my code DRY.My biggest problem with it is that those aren’t verbs. You might have
LegCount -> Countable
andFleaCount -> Countable
though.Yeah, that’s pretty annoying.