Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
freddo ( freddo@feddit.nu )  to Programmer Humor@programming.devEnglish · 9 months ago

OOP at home:

feddit.nu

message-square
25
link
fedilink
197

OOP at home:

feddit.nu

freddo ( freddo@feddit.nu )  to Programmer Humor@programming.devEnglish · 9 months ago
message-square
25
link
fedilink
  • NigelFrobisher ( NigelFrobisher@aussie.zone ) 
    link
    fedilink
    arrow-up
    13
    ·
    9 months ago

    Examples of inheritance hierarchies are always totally useless shit like this - what if a cow is an animal; What if a cow is a mammal, all mammals are animals and all mammals have a lactate() method?

    • ulterno ( ulterno@programming.dev ) 
      link
      fedilink
      English
      arrow-up
      8
      ·
      9 months ago

      Because any real life use that might come to mind would probably be related to some NDA protected database in a company.
      And it is otherwise hard to think of anything at the spot, so just go with what the first example on the web-search came up with.

    • jason ( jason@discuss.online ) 
      link
      fedilink
      English
      arrow-up
      7
      ·
      9 months ago

      Yeah… Wheres the AbstactAnimalFactoryManager?

      • Eufalconimorph ( Eufalconimorph@discuss.tchncs.de ) 
        link
        fedilink
        arrow-up
        2
        ·
        9 months ago

        I always knew Mondrian was painting cow production machines.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 635 users / day
  • 3.46K users / week
  • 5.09K users / month
  • 8.19K users / 6 months
  • 463 local subscribers
  • 33.8K subscribers
  • 1.61K Posts
  • 26.7K Comments
  • Modlog
  • mods:
  • Feyter ( Feyter@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • BurningTurtle ( BurningTurtle@programming.dev ) 
  • Pierre-Yves Lapersonne ( pylapp@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code