this post was submitted on 26 Mar 2024
429 points (92.8% liked)

Programmer Humor

19707 readers
217 users here now

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

founded 1 year ago
MODERATORS
429
Gamedev is Easy (programming.dev)
submitted 8 months ago* (last edited 8 months ago) by JPDev to c/programmer_humor
 

Transcript

var game = new Game()
  .EnableMultiplayer()
  .EnableSpatialAudio()
  .SetPerformance(Game.Performance.HIGH)
  .ForEachBug(Bug::AutoFix)
  .GetWishlists(7000);

game.Release();
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 72 points 8 months ago (1 children)

Another dev who forgot to .AddGameplay()

[–] [email protected] 8 points 8 months ago (1 children)

I assume that's part of the constructor?

[–] [email protected] 7 points 8 months ago

Should really start practicing dependency injection, so you can create any kind of gameplay you want easily!