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

Programmer Humor

18969 readers
1375 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
425
Gamedev is Easy (programming.dev)
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]
 

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] 70 points 5 months ago (2 children)

Another dev who forgot to .AddGameplay()

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

I assume that's part of the constructor?

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

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