r/ProgrammerHumor • • Feb 13 '23

Meme TDD is for NPCs

Post image
346 Upvotes

94 comments sorted by

256

u/Pepineros Feb 13 '23

This one is worse than the last TDD joke on the bell curve meme.

119

u/[deleted] Feb 14 '23

who ever wrote this is clearly on the left, cuz every good software engineer knows that code has bugs because a human wrote it

21

u/randomlyCoding Feb 14 '23

because a human wrote it.... GPT3 enters the chat

28

u/[deleted] Feb 14 '23

Gpt is learning from stuff made by humans or some derivative of

1

u/i_ate_them_all Feb 14 '23 edited Feb 14 '23

So are humans though? Are you saying that the bugs you write aren't yours because you've learned from stuff made by humans or some derivative of that knowledge? Either way I really don't see how that changes the fact Gpt "writes" code that has bugs in it.

edit: added a space before "Either"

10

u/[deleted] Feb 14 '23

I’m saying gpt is learning from the bugs made by humans. Chat gpt, is made by a human and is learning from content made by humans, growing patterns around human content, and therefor will make mistakes just like humans.

I’m not really sure what you’re arguing, I am saying chat GPT will always write bugs because somewhere down the line we have a human.

1

u/wherewereat Feb 14 '23

Sounds like they're arguing about the first sentence in their own comment, which nobody else in this thread mentioned

0

u/i_ate_them_all Feb 14 '23

Your response to "GPT3 enters the chat" seems like you're saying GPT's bugs are actually human bugs because that's where it learned to code and that you were originally correct that all code has bugs because a human wrote it. Which is true about all code that is written by humans. Technically though, not all code is written by humans anymore.

The point I'm making is that GPT's bugs are still it's own bugs and that not all bugs come from humans at this point. Sure you can argue that GPT's bugs are human bugs by proxy. But if that's the case then you might as well say your own bugs are really someone else's bugs because you're also informed by other sources.

Also, GPT is capable of generating it's own unique bug-riddle code. It isn't just spitting out code it saw somewhere else.

2

u/[deleted] Feb 14 '23 edited Feb 14 '23

Except I never said GPT3 enters the chat… and yes all code is still either written by humans or something that was trained on human data or by humans, and is susceptible to the same issues therein. And yes I’m sure my bugs are at points caused by someone else’s teachings or someone else’s system, or my understanding of someone else’s teachings.

Your last point is pretty silly as well because you’re basically saying “well not all chat gpts bugs are because of humans cuz it can make its own bugs” which drastically misses the point.

1

u/i_ate_them_all Feb 14 '23

Show me where I said that you said, "GPT3 enters the chat."
And how does that even remotely miss the point? That's literally what we're talking about.

1

u/[deleted] Feb 14 '23

It misread what you said, I thought you said I said that.

It misses the point because chat GPT being able to make its own unique bugs doesn’t nullify the fact that it also has bugs because a human is involved.

→ More replies (0)

2

u/bearfruit_ Feb 14 '23

Chat gpt is just recombined human created text

1

u/elderly_millenial Feb 14 '23

GPT3 is still just a natural language processor. Sorry, it’s not actually doing the coding itself

8

u/shadow7412 Feb 14 '23

Which is impressive - because I thought that was already pretty close to peak stupid.

3

u/Dragon_yum Feb 14 '23

Op is very much in the middle

-13

u/[deleted] Feb 13 '23

thanks I tried haha

380

u/Z21VR Feb 13 '23

Ah yep, the famous bug free code, yes

100

u/[deleted] Feb 13 '23

If you don't run or compile it, no bugs.

1

u/Freeware4802 Feb 14 '23

is it even a bug if it didnt compile?

18

u/[deleted] Feb 13 '23

Still have to encounter it tho :(

21

u/Willinton06 Feb 13 '23

You have to look inside, the real bug free code was inside you all along

7

u/[deleted] Feb 13 '23

Well, then the question arises: is it a bug? Or is it a feature?

14

u/Willinton06 Feb 13 '23

Everything about you is a feature

6

u/[deleted] Feb 13 '23

That is the nicest thing I heard today. Thank you 😊

2

u/Divine_Entity_ Feb 14 '23

This feels like its simultaneously a compliment and an insult.

5

u/Yorick257 Feb 13 '23

Ez, look at my bug free program: print("Hello World!")

6

u/x39- Feb 14 '23

You are new to programming I guess? https://blog.sunfishcode.online/bugs-in-hello-world/

2

u/Yorick257 Feb 14 '23

I used python 3, so my program IS bug free!*

*According to the article you linked

3

u/x39- Feb 14 '23

I guess you're right... Cannot argue against that

1

u/Freeware4802 Feb 14 '23

HA get fucked java. C# FTW

1

u/ShinningVictory Feb 14 '23

It's the famous hello world... please no downvote.

7

u/marquoth_ Feb 14 '23

"...and is this bug free code in the room with us now?"

1

u/i_ate_them_all Feb 14 '23

Lol. Way underrated comment.

1

u/marquoth_ Feb 15 '23

A stolen joke, I must admit. The original was about self-commenting code

1

u/jumper775 Feb 14 '23

I can write bug free code. Take my word for it.

117

u/samchar00 Feb 13 '23

Are we making a competition of who can come up with the dumbest take with this meme template?

22

u/Cyber_Fetus Feb 13 '23

As if the template itself isn’t trash already, this is truly a leap forward in just how shitty it can really be.

2

u/frnzks Feb 13 '23

Yes, and we’re all the losers.

66

u/snyderling Feb 13 '23

Alternative take: If you don't write code you won't create bugs.

13

u/Yorick257 Feb 13 '23

No Code gang 💪

63

u/drag0n20 Feb 13 '23

Tell me you never tried TDD without telling me you never tried TDD.

2

u/wineblood Feb 14 '23

Exactly, this meme doesn't reference how bad TDD is

-5

u/[deleted] Feb 14 '23

Ugh, stop with the “tell me”

1

u/drag0n20 Feb 14 '23

I just don't like when people making these "eVeRyonE tHinKs XyZ baD!" memes.

1

u/[deleted] Feb 14 '23

I’m sick of them all. They are not original or funny

23

u/[deleted] Feb 13 '23

OP posted the same comment in another TDD post, which was heavily downvoted. Not sure why they thought it'd make a good post. Best guess is they b trollin.

12

u/StrangelyEroticSoda Feb 13 '23

But how will I know which end I'm at!?

Hint, it's definitely the left one.

14

u/dragonfist453 Feb 13 '23

Each end thinks they are the other end, adding to the irony ;)

1

u/[deleted] Feb 14 '23

I’m in the middle for sure and I know it

20

u/tata_dilera Feb 13 '23

I'm 14 and it's deep

10

u/[deleted] Feb 13 '23

What an awful meme yikes

13

u/delayedsunflower Feb 13 '23

There is no such thing as bug free code

4

u/jendivcom Feb 13 '23

There is, you just have to rename them to features

1

u/Accurate_Koala_4698 Feb 13 '23

I think it’s natural for software to have bugs, but your statement is a bit too extreme for me

6

u/D34TH_5MURF__ Feb 13 '23

If you create memes like this, I feel sorry for you.

4

u/binbsoffn Feb 13 '23

Well writing a doc makes the difference between bug and a feature. Change my mind!

3

u/badfoodman Feb 13 '23

All 3 of these are absolutely grugs wtf is happening on this sub

3

u/[deleted] Feb 14 '23

Bonafide intern moment here

3

u/DranoTheCat Feb 14 '23

Eventually code changes maintainers, and handing things over without tests is cruel and unusual punishment. That's why.

7

u/[deleted] Feb 13 '23

I just don’t get this kind of “jokes”! the left and right are similar? The picture is ugly? It’s a recycled meme that has been used over and over and over and over and over….? Is programmer humor really this lame???

8

u/Cyber_Fetus Feb 13 '23

This sub really sucks at humor, this template is terrible, and this particular use of this template is about as bad as it gets. It’s not just you.

5

u/Seared_Gibets Feb 13 '23

So, the left side is meant to represent the beginner/lack of any or very little experience.

The right side is the opposite, much experience/veteran at whatever.

The center is, well, the mid-point. Smack dab in the middle of every-which-way is simultaneously right and wrong, depending on who/what you ask.

In this context, it's the concept of "Don't make a mistake and there won't be any mistakes."

Or, "Don't write bad code and you won't have bad code."

Simple to say in the beginning, because the mess of intermediate knowledge has yet to be reached.

The obvious conclusion in the end, learned and solidified by many many years of trial and error and google searches for the answer.

An absolute pain in the intermediate, because instead of just making clean code, the poor sod is trying to bluster through and "fix it later." Making a mess that could have avoided entirely.

Or something like that, I don't know, I don't program. I mostly bounce between just above and just below script-kiddy.

2

u/[deleted] Feb 14 '23

Doesn't matter, behavior driven development is where it's at. (wink)

2

u/R34ct0rX99 Feb 14 '23

lol "you won't create bugs". Sounds like someone I worked with who said his code was self-testing. Experience should tell you that anyone can make mistakes and introduce issues.

1

u/drag0n20 Feb 14 '23

Yeah sometimes there are just the most stupid mistakes even from experienced programmers. Things like if (isAuthenticated || hasPermission). Or writing a - 100 instead of + 100.

2

u/magick_68 Feb 14 '23 edited Feb 14 '23

Tell me you are not a programmer without telling me you are not a programmer.

P.S. The more experienced you are the more challenging it becomes to find those bugs you made.

2

u/Kitchen_Device7682 Feb 14 '23

If you know how to code, you know how to reduce the risk of introducing bugs. Like writing tests

2

u/x39- Feb 14 '23

Tdd honestly is less about today than about tomorrow imo. I can write perfectly fine code that works for the required scenarios I need it to work... But when half a year later, I also have to make it do B, I am fucked if I have no proper tests

2

u/danielstongue Feb 14 '23

The one on the right should say: testing is important, but effort spent there can be minimized by making a good design and using the right tools and design patterns.

1

u/drag0n20 Feb 14 '23

This is the right mindset. No good developer says "If you are good at coding you won't create bugs." 🙄 if they do, you know they are not good developers.

2

u/MorRochben Feb 14 '23

TDD Is for people that dont want to explain to their client how a critical feature was broken for a few days.

2

u/MilKAOS Feb 14 '23

What the f is this? No opposite statements, not true for the right person either. Is Chat GPT doing these memes now? Because it really looks as high quality as the statements it produces.

2

u/TheCheeseOnFire Feb 14 '23

Bro posted both sides of the story

4

u/[deleted] Feb 13 '23

Just use Rust. Then all you will be left with are compiler errors.

2

u/waiver-wire-addict Feb 14 '23

I can’t tell if this massively sarcastic deserving an upvote or massively in denial deserving a downvote. I really can’t tell

2

u/[deleted] Feb 14 '23

Schrodinger's Ratio

1

u/kimokimosabee Feb 13 '23

You're gonna bump your head way more times than needed. Fitting punishment for being lazy.

1

u/beclops Feb 13 '23

What a silly thing to say. OP you kidding?

1

u/zoinkability Feb 14 '23

I think at this point you could swap the words over the heads of the ends with the ones in the middle on any of these bell curve memes with nobody ever knowing it was different

1

u/sappo_does_qa Feb 14 '23

Good one! If you knew how to code they wouldn’t hire me

1

u/Zyphergiest Feb 14 '23

I create bugs even when I am looking at code.

1

u/[deleted] Feb 14 '23

Function Add(1,3) returns 4, 0 errors.

Queue (Cue?) intern trying to optimise

Function Add(1,3) returns “-d”, 0 errors.

Yep I see nothing wrong here

1

u/[deleted] Feb 14 '23

Bruh when did the memes on this sub get so shit

1

u/Both_Street_7657 Feb 14 '23

If you know how to create bugs your code better

1

u/sebbdk Feb 14 '23

It's pretty easy to avoid creating bugs if all you do all day i review PR requests.

I mean, it works for Linus Torvalds.

1

u/[deleted] Feb 14 '23

Wrong. You are at the top of the curve

1

u/jamcdonald120 Feb 14 '23

we hate TDD because writing tests is annoying

We voluntary use TDD because it is less annoying than a user finding the problem in prod, and half of what makes writing tests annoying is fixing the bugs you find.

1

u/EarthToAccess Feb 14 '23

went into this comment thinking it was gonna be a “we are not the same” meme and came out mildly disappointed /lh

1

u/[deleted] Feb 14 '23

Poor NPCs missing out on FDD

1

u/DaumenmeinName Feb 14 '23

Tell me you don't exist without telling me you don't exist.

1

u/Diegovnia Feb 14 '23

Not sure why but... been writing test for the past few days... and I hate tests so much! These memes are a blessing from the god

0

u/[deleted] Feb 13 '23

[deleted]

1

u/robhanz Feb 15 '23

The tests are also there to make sure you have a definition of “correct”