this post was submitted on 27 Sep 2023
187 points (84.8% liked)

Programmer Humor

32718 readers
399 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

"The only difference between programming and games is that games have win conditions."

all 43 comments
sorted by: hot top controversial new old
[–] [email protected] 76 points 1 year ago (2 children)

I mean, this is cringe AF.

Kotlin 'built by communism'? Because the founders of JB are Russian? Is that it?

Swift is 'greed' how? It's open source since 2015 or so; & available on Linux. Apple's graphical toolkits are 'closed down'; & obviously restrict users' freedoms; though not sure how that implies 'monopoly'. 'Monopoly' would be trying to dominate all toolkits, not have one's own.

Vague word associations are cool, I guess.

[–] [email protected] 34 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago

I think a lot of jokes are better if they have a kernel of truth in them

[–] [email protected] 30 points 1 year ago (3 children)
[–] [email protected] 23 points 1 year ago (1 children)

The blog post itself is, but these Toggl comics are high quality original content

[–] [email protected] 5 points 1 year ago (1 children)
[–] [email protected] 7 points 1 year ago* (last edited 1 year ago)

No, the name is in the comic - Mart Virkus. I like his stuff. https://arcaderage.co/

[–] [email protected] 13 points 1 year ago

The rest of the page? Probably. I stopped reading after the comic.

[–] [email protected] 19 points 1 year ago (1 children)

Swift is open source, I don't get the "lesson in corporate greed" angle.

[–] [email protected] 11 points 1 year ago

Don’t worry, the artist probably doesn’t, either.

[–] [email protected] 18 points 1 year ago (1 children)
[–] [email protected] -1 points 1 year ago* (last edited 1 year ago)

I'm the version I learned, others mentioning the game grants you 15 minutes of immunity.

It seems like a critical rule, because you can actually win (only when someone else loses) if you haven't thought about it for over a year.

[–] [email protected] 17 points 1 year ago (2 children)

Haskell isn't really that hard to learn. It's just changing the paradigm, that takes a mind shift for the first two weeks, maybe a month.

I don't play games that much to make such comparisons, though.

[–] [email protected] 32 points 1 year ago (1 children)

Haskell isn't really that hard to learn

A monad is a monoid in the category of endofunctors

[–] [email protected] 11 points 1 year ago (1 children)

a little category theory never hurt anyone :)

[–] [email protected] 2 points 1 year ago (1 children)

Gorillions of set theorists are dead, and you have the gall to tell me that it never hurt anyone?

[–] [email protected] 2 points 1 year ago

the set theorists were already in pain. category theory freed them from their suffering

[–] [email protected] 6 points 1 year ago (1 children)

i agree. haskell is worth learning because its cool, and the skills/concepts are transferrable, not because the language is in demand

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

So like dungeons and Dragons then

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

It inspired much, but whoever knows all the rules?

[–] [email protected] 15 points 1 year ago (1 children)

Appropriately enough, there's a Java port of Doom.

[–] [email protected] 5 points 1 year ago

And also a line printer port of Doom.

I don't know if I'm joking, because that list leaves out everything relying on the Java port, beacuse there's too many. So... Maybe in the printer, and maybe not.

[–] [email protected] 13 points 1 year ago (2 children)

Games don't always have win conditions..

[–] [email protected] 4 points 1 year ago

The only winning move is not to play.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (3 children)

Games by their literal definition have win conditions.

One without win conditions is just a virtual toy. Like sim city.

I wrote a paper on this when studying games technology at university. It's actually a really interesting area of study.

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

We also briefly discussed this in Games Master, if only to discover how wide and diverse the range of perspectives are. I feel it misrepresents the subject to talk about a "literal definition", and to explicitly include "win conditions". Because there are multiple attempts of a definition, and many do not include win conditions.

https://en.wikipedia.org/wiki/Game

One such example definition:

"To play a game is to engage in activity directed toward bringing about a specific state of affairs, using only means permitted by specific rules, where the means permitted by the rules are more limited in scope than they would be in the absence of the rules, and where the sole reason for accepting such limitation is to make possible such activity." (Bernard Suits)[14]

You seem to refer to Chris Crawford's definition, which is in part:

If no goals are associated with a plaything, it is a toy. (Crawford notes that by his definition, (a) a toy can become a game element if the player makes up rules, and (b) The Sims and SimCity are toys, not games.) If it has goals, a plaything is a challenge.

Explicitly calling SimCity "not a game" is purely academic talk, detached from reality. For everyone else, SimCity is clearly a game. If you want to buy it, you look for games, not toys. I feel definitions are questionable which define something to be not what everybody thinks it is.

Was Minecraft not a game until it included "The End"? I loved playing Minecraft, but I rarely cared about The End, even after it was included. When a player cannot tell the difference between a version of a game which includes a win condition, and a version which does not, how can the existence of that condition be a decisive factor?

If we widen the scope to include any game, not just video games, we can also have a look at popular children's games like https://en.wikipedia.org/wiki/Word_Association. My theater group loves to play win-free games as a warmup practice.

From my point of view, win conditions are a common characteristic of games, but not necessary or defining. Coming up with a short definition which captures all games and excludes all non-games is surprisingly hard.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Imo definitions are important even if people aren't aware of them.

I did say it's an interesting area of study. So I was referring to the academic side and specific definitions.

The other definitions are way too wide imo and easily include many things that clearly aren't games.

Win free games are basically just constrained play I feel.

Again Minecraft isn't a game technically. Beating the ender dragon doesn't end the game. If it did then it would better fit the definition of a game imo. It's a sandbox or digital Lego.

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

What about MMORPGs? Where do they fit in this classification? I’m genuinely curious.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

There's predefined goals and rules.

It has win and lose conditions, for example failing a raid.

It can technically be completed even if that takes an insane amount of time and effort. You can therefore fail to complete it.

So you could argue it is a game quite easily. You could also argue it's a set of distinct games within a framework.

But things get a lot more messy with digital games compared to classic games.

[–] [email protected] 4 points 1 year ago (1 children)

Your point seems obvious - except that Minecraft still had no win condition in beta and was already well on it's way too becoming the most popular video game of all time.

Makes it feel like the accepted definition of "game" is changing.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

I think the term "virtual toy" applies really well for Minecraft.

Like Lego you can set goals for yourself but there aren't strict win or lose conditions.

But the diversity of what's possible with video games certainly muddies the waters compared to classic games.

[–] [email protected] 3 points 1 year ago (2 children)

A game has a set of goals, and you can quit it without dying.

If there's no set of goals, it's not a game, it's a toy.

If you can't quit it without dying, it's not a game, it's real life.

(Does real life have a set of goals? Depends who you ask.)

[–] [email protected] 3 points 1 year ago (1 children)

Technically the goal is for your DNA to spread itself. Everything else is just made up by humans.

[–] [email protected] 4 points 1 year ago

That's its goal, not mine!

[–] [email protected] 2 points 1 year ago

Huh. Turns out I use most of my games as toys, not games. I rarely finish games, usually getting a lot of stuff done, high leveled, etc, then just enjoying it until I decide ro start over. I also regularly go back to games like Ark, 7 days, City Skylines, Civ VI(but often strip out ein conditions so I can keep playing), FFXIV, etc.

Sure I make short term goals that I complete, but usually not done everything and complete story to win unless doing so gives me something else to do, like New Game+.

[–] [email protected] 12 points 1 year ago

I don't get Dart. It should have been a CS:GO clone

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago)

For those using Imagus, make sure to click the link still. The entire comic doesn't get blown up from the thumbnail.

https://toggl.com/blog/wp-content/uploads/2020/08/toggl-programming-languages-as-games_1.jpg

[–] [email protected] 6 points 1 year ago

Perl made me laugh more that I want to admint...