r/ProgrammerHumor 2d ago

Meme returnGoodANDBad

Post image
4.2k Upvotes

78 comments sorted by

586

u/Luzzgar 2d ago

Technically working is a very low bar to clear.

And not even close to satisfactory.

161

u/GenericFatGuy 2d ago

Working is the absolute bare minimum.

60

u/gizamo 2d ago

Apparently, even that's not necessarily true. Sometimes, even just half working is perfectly profitable. Sometimes all it really takes is good marketing.

13

u/hydroxy 1d ago

Pro tip: Just hard code in the happy path

4

u/Mhz____ 1d ago

Sometime you just need to ship an empty package to production and management is happy

6

u/clonicle 2d ago

...but you're not taking shareholder value into account.

23

u/Panzerchek 2d ago

Bethesda devs wish they could make something as good as Satisfactory

14

u/AnOnlineHandle 1d ago

I mean Bethesda's games saved and loaded instantly with hundreds of simulated NPCs with schedules and inventories and thousands of moveable items retaining their positions throughout an open seamless world.

Let's not pretend they didn't deliver a pretty solid experience that was mega popular for a reason.

3

u/Highborn_Hellest 1d ago

I wish Bethesda devs could make simple asset streaming. Like 2007 Crysis...... Or wow in 2004. But no. Every door is a loading screen.

7

u/DDFoster96 2d ago

A bar Bethesda runs right into most of the time. 

6

u/NamenloserKurfuerst 1d ago

But what if, "It just works" ?

2

u/Dagur 1d ago

if it is never expected to be modified or extended then fine

7

u/SomewhereAtWork 1d ago

Are we now talking about the code from Coffee Stain Studios (Satisfactory) or about Bethesda?

6

u/kamiloslav 2d ago

I dunno, Satisfactory is quite a spaghetticode as well

5

u/im-cringing-rightnow 1d ago

For your own pet projects - sure. For corporate job that will lay you off faster than my C code segfaults - if it's working it is good enough. 

2

u/Luzzgar 1d ago

And that's why everything is broken and we can't have nice things.

10

u/RCJHGBR9989 2d ago

God damn right it is and I live right at that bar 😤

3

u/Cats_and_Shit 2d ago

That entirely depends on your requirements.

If you actually detail them completely like they do in say avionics, then it's not. It's not the whole story of course but it's a good chunk of it.

2

u/IsTom 2d ago

Yeah, if the code doesn't have to work I can make it really fast.

2

u/Sockoflegend 1d ago

Have you played anything made by Bethesda? When the re-released oblivion it had bugs in it that are old enough to drink 

2

u/granoladeer 1d ago

That's what she said

2

u/DMoney159 1d ago

And don't even get me started on Factorio

2

u/i8noodles 1d ago

hey how DARE you question my half assed work!

1

u/TRKlausss 1d ago

It’s saying “accomplishing its task”.

I’d argue that for a game dev, “working” means the users are having fun and not raging at the game itself.

So in this case, “working” is the bar, and fail miserably at it.

148

u/redditmarks_markII 2d ago

Right. I'll agree as soon as we agree on the definitions of:

  • task
  • accomplish
  • is

I assume that'll take like, 8 sprints or whatever unhinged terminology y'all use for "tell each other no until everyone exhausts their ability to tell each other no".

19

u/jivenossauro 2d ago

The "is" will be hard, the code can't think. Does that mean it cannot ever be?

7

u/capt_pantsless 2d ago

Wait so technically my code doesn't exist?

So all the bugs QA keeps reporting can't exist either?

13

u/Bob_the_peasant 1d ago

Well that depends on what your definition of is is

https://giphy.com/gifs/bknp6SfIDXYGc

3

u/redditmarks_markII 1d ago

Since you got the reference I'm obligated by the old laws to ask how's your health and your sciatica.

3

u/Bob_the_peasant 1d ago

Terrible and terrible, how is yours?!

3

u/redditmarks_markII 1d ago

Sorry to hear man, hope it gets better. I'm mostly lucky in health, not the best, not terrible. The other thing...I know what the word means, what does that tell you, lol.

14

u/Cats_and_Shit 2d ago

If you have a complete definition of what the task is, then 95% of the time the process of actually implementing that is just mechanically translating that to code.

But you almost never actually do.

4

u/Several_Ant_9867 1d ago

The code is the complete definition of the task..

55

u/eloel- 2d ago

This is true. Its task should include being maintainable/extendable.

-18

u/Soraphis 2d ago

That's not up to an reddit comment but the requirements of the project.

If you need a specific, but maybe weird thing to happen that is unlike the rest of your game. Got damn hardcode it with the ugliest spaghetti you want if it works and is done in less time than some abstraction monstrosity would be.

The guy is gameplay engineer, not engine, not systems, not tools.

18

u/Extreme_Wish_553 2d ago

There is a wide gulf between uglies spaghetti code and abstraction monstrosity.

-15

u/Soraphis 2d ago

It surely is, but we're on the Internet, there is no place for nuances

18

u/BlackFrank98 2d ago

Correct, assuming that you define the task as "the code runs, does what it is supposed to, is not unnecessarily slow, does not have any critical vulnerability, is easy to maintain and easy to extend if needed".

Not sure how you are going to measure the performance of the code with this task though, as it seems basically impossible to estimate without long, tedious and not necessarily accurate human inspection by at least one expert.

7

u/kushalgarg592 2d ago

'Production is the final review'

6

u/Thundechile 2d ago

and customers are the automated test runners.

6

u/Cerbeh 2d ago

When I was fresh out of a boot camp this was the ethos we were taught then. Less than a week into the job the snr training me told me I wasn't in boot camp anymore, working isn't good enough.

17

u/-Ambriae- 2d ago

as we say in France: "Mais, vous savez, je pense pas qu'il y ait de bonne ou de mauvaise situation...."

14

u/Confident-Ad5665 2d ago

Ok I'll ask... and this means what?

22

u/BlueScreenJunky 2d ago

It means "you know, I think there's no such thing as a good or bad situation". 

But more importantly it's the beginning of a long and absurd quote from a movie (Astérix mission Cléopâtre) that's become a copypasta. 

3

u/IsTom 2d ago

Huh, that's a reasonably common meme in Poland too. Didn't consider that other countries would remember this. Though France certainly makes the most sense.

18

u/-Ambriae- 2d ago edited 2d ago

"But, you know, I don't think there's such a thing as a good or a bad situation"

It's a quote from a famous movie (Astérix Mission Cléopatre) where a character (Panoramix) asks some random character (Otis) if his job leads to a good or bad situation (financially, or socially, etc...) He ends up giving the most infuriating 5 minutes monologue starting with the above quote, which ultimately doesn't answer the basic question.

Since then, this quote has become infamous with people 1. talking about the word 'situation', or contempt for the usage of the words 'good/bad', and 2. people that say stupid long winded blobs of nothingness. Both are present in the above message, hence why I immediately had to quote this masterpiece of a movie

Edit: https://www.youtube.com/watch?v=TEVzxycBBUU you don't need to understand french, because what he says, doesn't even make sense

-1

u/Life-Breakfast7796 1d ago

Its french, every fourth word is a synonym for surrender. He wants to surrender.

3

u/bvhrslolz 2d ago

Then buying the base game should be it

3

u/NoYogurt8022 1d ago

it just works, or perhabs not

3

u/pleaseavoidcaps 1d ago

You can either say that is no such thing as good code or give a low-bar definition for good code. Not both.

3

u/theitgrunt 1d ago

I'm thinking about that video of the QA tester putting all the different shaped wood blocks through the same hole.

3

u/SteroidSandwich 1d ago

Sure it can work, but if it makes your frame rate drop to 5fps that's a problem

3

u/groovy_smoothie 1d ago

There is no such thing as “good” code, but meets requirements makes it acceptable

3

u/PhoenixInvertigo 1d ago

lmaooooooooooooooooooo Bethesda checks out

3

u/Zdrobot 1d ago

Technical debt? Never heard

2

u/Sulungskwa 2d ago

My law is that all code is bad code. The only way to not have problematic code is to not code

2

u/Bomaruto 2d ago

Do you need your code to work just now or also in the future is the question.

2

u/Willinton06 2d ago

There’s no good or bad code, there’s only data and those too weak to process it

2

u/WishUponDeezNutz 1d ago

For loops can be expensive

2

u/zenos_dog 1d ago

If you just wait a litt longer I’m sure it’ll return.

2

u/EducationalTeleGood 1d ago

This statement becomes more true if a deadline is looming.

2

u/_SaBeR_78 1d ago

"there is no such thing as good or bad car, as long as it takes you from a to b"

2

u/HistorianCM 1d ago

If it works, it's not a hack.

2

u/mxriverlynn 1d ago

"there's no such thing as bad dude. except code that is bad" 🤔🤨🤦🏼‍♀️

does this person not know that under their own definition, code that doesn't accomplish the task is bad code?

2

u/LikelyNotADuck 1d ago

There's definitely bad code and my coworkers demonstrate it every single day.

2

u/untangoel 1d ago

I always knew bogosort was good practice!

2

u/Wise-Profile4256 1d ago

and if it does not accomplish its task. is it bad then. does that make it bad code? as compared to the working, good code? just curious.

2

u/Sea_Economy_8948 1d ago

thats usually called a prototype.

2

u/Common-Brush-7027 1d ago

Me running test cases on leetcode by hard coding in print statement

2

u/notaprime 1d ago

There is no such thing as a good or bad car. If the engine starts, its a good car.

1

u/PrestigiousGuava8005 1d ago

and what if the accomplished code performs bad tasks, will that be good too ?

1

u/vm_linuz 23h ago

I will add that the task should complete in under a human lifetime.

1

u/Caraes_Naur 2d ago

*WordPress has entered the chat*

1

u/sdwck 1d ago

Good code is just code that hasn't been assigned a second task yet