9
When DRY goes wrong (hackeryarn.com)
you are viewing a single comment's thread
view the rest of the comments
[-] steph@lemmy.clueware.org 2 points 3 years ago* (last edited 3 years ago)

The example is more of an issue with using the right tool for the job: using classes inheritance and overloading would properly deal with the employee/manager/c-suite distinction.

this post was submitted on 11 Jun 2023
9 points (100.0% liked)

Programming

15547 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 3 years ago
MODERATORS