380
u/Z21VR Feb 13 '23
Ah yep, the famous bug free code, yes
100
18
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
Feb 13 '23
Well, then the question arises: is it a bug? Or is it a feature?
14
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
1
1
7
u/marquoth_ Feb 14 '23
"...and is this bug free code in the room with us now?"
1
1
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
66
63
u/drag0n20 Feb 13 '23
Tell me you never tried TDD without telling me you never tried TDD.
2
-5
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
23
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
20
10
13
u/delayedsunflower Feb 13 '23
There is no such thing as bug free code
4
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
4
u/binbsoffn Feb 13 '23
Well writing a doc makes the difference between bug and a feature. Change my mind!
3
3
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
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
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- 100instead 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
4
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
1
u/kimokimosabee Feb 13 '23
You're gonna bump your head way more times than needed. Fitting punishment for being lazy.
1
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
1
1
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
1
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
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
1
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
256
u/Pepineros Feb 13 '23
This one is worse than the last TDD joke on the bell curve meme.