You are viewing a single thread.
View all comments
51 points

Interfaces are great.

Inheritance is often a sign that the previous developer didn’t understand interfaces.

permalink
report
reply
25 points

Broad generic claims like that tell me more

permalink
report
parent
reply
24 points

Yep. I’m old, cranky, and prone to broad statements to get reactions.

That said, for any of you all that love inheritance, I’m judging you so hard. So hard. Very judged. I probably hate your code, and your friends’ code, and your last teacher’s code. Especially your last teacher’s code.

permalink
report
parent
reply

Prefer composition over inheritance. Though that doesn’t mean inheritance has no place in programming.

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 6.5K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments