schlunker
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
devilish666@lemmy.world to Programmer Humor@programming.dev · 4 天前

At least it works

lemmy.world

video
message-square
23
fedilink
386
video

At least it works

lemmy.world

devilish666@lemmy.world to Programmer Humor@programming.dev · 4 天前
message-square
23
fedilink
  • WhiskyTangoFoxtrot@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    4 天前

    They probably thought that all their NPCs would be human when they started the game, so they named their NPC class Human. Then they decided to add dogs, but needed them to do a lot of the same things the human NPCs did, so they made the Dog class a subclass of Human.

    • dandelion (she/her)@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      10
      ·
      4 天前

      it’s probably so much worse

    • leftytighty@slrpnk.net
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 天前

      Object oriented programming was a mistake

    • jaybone@lemmy.zip
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      4 天前

      What is refactoring?

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
Visibility: Public
globe

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

  • 717 users / day
  • 3.06K users / week
  • 7.99K users / month
  • 20K users / 6 months
  • 1 local subscriber
  • 24.8K subscribers
  • 1.55K Posts
  • 57K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org