I also think that I represented the choices fairly in the meme… Blue Pill to go back to reality before AI where we wrote our own code. Or Red Pill to see how deep the rabbit hole of the AI future goes.
In the movie, blue pill literally represents living in a world where we are energy sources for AI. Red pill is breaking out of that reality. It literally couldn’t be more opposite.
I can see where you're coming from now but yeah it's definitely backwards. The blue pill represents adhering to the status quo, remaining blissfully ignorant to the negative consequences for humanity. The red pill represents rebelling against the starus quo and living authentically.
if you ever hear about someone being "redpilled" yes its also from the same movie,,, and also using it hella wrong
In the movie the redpill represents actually opening your eyes to the way the world works.
"redpillers" are really more about seeing their pain and then lashing out without actually seeing why the world hurts them. So its more akin to "taking the blue pill, but being unhappy and hurting others about it"
Yes and no. The red pill was initially accurate talking about legitimate issues that men tend to face like suffering financially in divorce or child custody that society tended to ignore at the time.
It just went off the deep end into misogony, incels, etc.
The problem now is that ANY issue that men face is considered red pill nonsense at this point, even legitimate issues.
No it won't... Humans are great at adapting and surviving.
Will we have wars, and refugees? Mass death due to food shortages? Pain and suffering for the large majority? Yes, almost certainly, but human extinction? I very much doubt it.
I guess, but I think one major difference is that, because of this bubble of peace and prosperity we have a lot more people will suddenly suffer as well.
That's on top of the fact that a lot of areas that already suffer a lot, will have increasingly worse living climates.
It's just very likely that some humans will survive the water wars or whatever. It's just probably 50+ years away at this point so most adults today won't experience it.
Something happening in 1,000,000,000 years is not a good reason to be irresponsible when our species hasn’t even had pants for 15,000 years yet. We work on a very different timescale.
"We will learn how to do interstellar travel, find new worlds, and terraform them" is actually quite realistic on the timescales where the sun expands.
On timescales where global warming causes massive problems, it isn't.
What are you saying that all countries will suffer greatly and there are no exceptions and everyone will die? I doubt it. There's a difference between living in an already hot and sea level country and a cold mountainous one.
Some countries will have it worse than others, no doubt, but here in scandinavia certainly isn't looking good. More extreme temperatures and storms are predicted to affect basically everywhere. That is all not mentioning the refugee crises that will be sparked
You guys realize that we always had the option to not write unit tests, right? We didn't used to need AI overlords to write them, we used to just not write them
I mean, there are arguments to be made for using a strongly typed language and just investing in higher value tests like integration and acceptance tests. Arguably that surfaces failures you couldn't anticipate in runtime exceptions more immediately and with less foresight. It's not a junior /senior issue. IMHO It's a legacy of limitations from Ruby on rails community that perpetuated test driven development craze; I'd argue because their tooling doesn't serve software safety. Source was working in 2010s as a software eng and everybody wouldn't shut up about tdd.
I feel like you missed my points I was making. Au contraire, I never said unit tests were the same as integration or acceptance, I'm making a normative claim: that the reason we shoot for 100% code coverage (unit tests being largely the biggest bloat because it's the smallest possible logical test) is because our compilers, interpreters, language specifications, and tooling do not support us. No one writes a unit test to validate that the function "timesThree" takes a number and returns a number in Haskell. They are writing property based tests that test behavior across a range of inputs, integration tests to validate the results can be stored in our databases, and acceptance tests to see if the user can have expected behavior with requirements. There are rarely any cases where a unit test will fail but an acceptance test will succeed, and that delta is better covered in property based tests which can absolutely be a part of the acceptance for higher value. I also make a historical claim that TDD became popular from the ruby ecosystem because they have zero tooling (at the time anyway) to handle type issues. They have since attempted to address this for this reason.
Normative claim is what ought to be in software, I'm not talking about 'well it's frequently required and a good proxy for a team who cares' which is a hard thing to quantify but adjacent entirely to what I'm saying.
I never understood this approach. Like yea you can start with "do these inputs give these outputs" but how far are you supposed to granularize it? What if you need to change an implementation half way through or the methodology doesn't work? Or when devops enforces something ridiculous like 90% coverage on all commits including branch truth tables so you end up writing tests for branches that only ever log something trivial
It works mostly for black box testing of business logic. Of course, unit testing infrastructure code is not so beneficial. (E.q. first writing a test of if this queue works.)
IMO high test coverage requirements are one of the biggest mistakes of recent software development. Each piece of software/module has like two or three critical places where 80 % of tests need ro be directed towards. The rest of implementation code is just support code. Covering almost every line with tests is silly.
The trick with TDD isn't necessarily that you need to write the tests first (although that helps).
It's more that you first think about the intended behavior of the code, and then also think about how to make your code testable before you write the code.
I typically think what the first test should roughly look like and code up the required amount of code for that first test before I actually write that test.
Just open an editor and start writing code, just thinking as you go.
If you do this, you often end up with code that only works in the happy path (no / poor error handling or recovery) and which is difficult to test (i.e. you require access to the internals of the thing you code to test it).
Sure. But there are also people that prefer Type Driven Development. Instead of first thinking about behavior, they think about code in terms of inputs and outputs. That includes both types and functions of course.
Test Driven Development is not always a benefit. Sometimes it is more of a burden and a chore. When you do Type Driven Development you benefit from a lot of correctness that invalidates the usefulness of a lot of tests that people usually write.
You end up needing to write way less tests, and only have to write tests for invariants that are difficult/impossible to encode with types. Also, thinking about types and functions this way means you're more likely to write pure functions that clearly yield well defined objects, that are easy to test in case it's a function that is quite complex to ensure that its implementation is correct. But preferably you'd split up your functions enough that you'd ensure correctness regardless.
You are correct. My point is that you do both, you write tests and types. TDD doesn't mean you have to write redundant tests if those areas are covered by the type system.
Yeah, at least IDENTIFY the test cases even if you don’t implement them. Also consistent with API first approach… the implementation should fulfill a contract, and those test cases are the contract.
Much easiest for me to write implementation and tests side by side. The issue is i never know if i would extract more methods which would be good to tests.
You should look over those unit tests. I went back to writing them myself when I realized half of them weren't actually validating anything new and it could have updated existing tests to validate some scenarios. So give me that blue pill.
Found the comment I was looking for. Feel like the AI writing a suspiciously high number of tests is a sign for me to tell it to back off immediately.
I was having a bit of fun with a completely vibecoded web app in my free time I made for myself and its amazingly useful. Then I see it write '400 tests passed' like that's supposed to give me reassurance.
I asked it to do a pass and remove duplicate tests and it removed almost 100 of them. That's still too many for me tbh for a codebase that isn't so big but it tells you that it does test either nothing or it tests stuff that's already tested.
I miss writing them myself anyway and I trust the code more so the OP just reads like junior dev
Seriously, what were the odds of extinction when Big Corporate decided to outsource QA to some offshore workers who lacked context, "because developers are too expensive for testing?"
But if i take multiple red pills, It depends on how the pills are programmed, if they sum or multiply, id they multiply then im lowering the chances of human extinction 10%*10% = 1%
480
u/Juggling_Rick Oct 02 '26
The red pill is pro-AI?? Did you even watch the movie?
242
u/faultydesign Oct 02 '26
Good news is global warming will cause human extinction no matter how many unit tests you write
77
u/Sulungskwa Oct 02 '26 edited Oct 02 '26
You guys realize that we always had the option to not write unit tests, right? We didn't used to need AI overlords to write them, we used to just not write them
77
u/BernhardRordin Oct 02 '26
Write tests first, then the implementation. You won't want to go back.
7
u/DadAndDominant Oct 03 '26
You don't like writing unit tests? How do you know your units work properly!
9
u/ilnarildarovuch Oct 02 '26
My output is monochrome, so I see it like random picking, lol
15
u/EdenDemona Oct 02 '26
Eww
11
u/dcheesi Oct 02 '26
Wait, you guys have unit tests?!
8
u/OneArmedFarmer Oct 02 '26
When ever I lose faith in humanity I head over to r/idiotswithguns and am immediately restored.
10
u/StrawberryEiri Oct 03 '26
Writing your tests is supposed to be an occasion to question and improve it. If it sucks to test, chances are it should be improved.
AI generating tests entirely circumvents that and misses half of the usefulness of unit testing. It's extremely sad to see.
3
u/TheFirestormable Oct 02 '26
Weak
3
u/LostOne514 Oct 03 '26
You should look over those unit tests. I went back to writing them myself when I realized half of them weren't actually validating anything new and it could have updated existing tests to validate some scenarios. So give me that blue pill.
4
u/Gorthokson Oct 02 '26
And this is why when the collapse of civilization happens it will be the elites up against the wall, and right next to them will be tech workers.
4
u/AngusAlThor Oct 02 '26
You're gonna be real shocked when you get fired for committing 3,000 lines of tests that don't actually test the code.
4
u/gocciamaare Oct 02 '26
At least extinction passes QA
2
u/fpcoffee Oct 02 '26
win-win
1
u/Prozilla6 Oct 02 '26
Who else is going to write them? No one?
1
u/dangerous_service Oct 02 '26
I mean unit tests can be annoying sometimes.
1
u/tehtris Oct 03 '26
Are we on 10 ? I live on 10. Are we on 10 yet?
1
u/Old_Document_9150 Oct 03 '26
Seriously, what were the odds of extinction when Big Corporate decided to outsource QA to some offshore workers who lacked context, "because developers are too expensive for testing?"
1
u/k_varnsen Oct 03 '26
Those odds are way too low. I like writing unit tests. Make it 30% at least.
1
u/ayanogod_friend Oct 03 '26
But if i take multiple red pills, It depends on how the pills are programmed, if they sum or multiply, id they multiply then im lowering the chances of human extinction 10%*10% = 1%
1
u/AskPositive9792 Oct 04 '26
10 percent is a fair trade, I'd say even a steal!
1
u/EchidnaForward9968 Oct 05 '26
So if i eat 10 of red pill will it be 100% chance
1
u/VinterBot Oct 06 '26
you guys test? that's what the users are for
1
u/now_Escape Oct 02 '26
OMG, I'm currently learning about unit tests. Stopped an hour early today because my head was pounding
1
u/drifwp Oct 02 '26
Where humor? Is it in not wanting be a programmer?
1
u/Cruxalis Oct 03 '26
Wait, is this an ad?
0
u/ThePhyseter Oct 02 '26
Rude
0
u/PileOGunz Oct 03 '26
I can finally get behind unit tests now I don’t have to write them
-2
u/GoogleIsYourFrenemy Oct 02 '26
I've only been vibe coding a month and I've already used it to write more unit tests than I wrote in the last 15 years.
1
u/Iconlast Oct 02 '26
Should be 99% human extinction! 😂
2
u/[deleted] Oct 02 '26
[removed] — view removed comment