ngl I made a class called "<thing>PortManager" to read and write from specific ports based on what type of port it was and storing what should be considered a logical "true" (because it's not always high) and then a class called "<thing>Generator" that did all the set-up of the actual device based on the list of ports I wanted to use. So I think I understand this OOP thing now.
This is how you know it's just a text prediction engine on steroids.
"Can I get directions to Suchandauch?"
"Sure! Here is detailed directions to Suchandsuch. Seeing as you're travelling, I made you a sandwich for the road! Want me to help you book a hotel room at your destination?"
Nice to know it wasn't just me lol. Gave it 5 lines of code from a bash script and 5 from powershell for renewing certificates, asking it to simply combine both and give me a bash script. Wasn't even using any powershell modules so it was extremely straightforward.
It proceeded to write me a 582 line bash script with tests, an implementation and back out plan, along with its own mock certificate renewal process in Python that was meant to mimic openssl. The entire thing was filled with redundant helper functions.
First time I've seen it be that overly verbose with such a trash answer.
I asked it for a simple bash script and it implemented this long, tangled mess of shift statements and deeply nested bash syntax rather than just passing in simple arguments like a normal person. Reminded me of my bosses Perl script style.
Just because it thinks for longer doesn't mean it should go off the rails on an easy request. First time I've seen it do it even with specific prompts.
It doesn't know how to design programs with OOP design patterns. It is always trying to add shit functions inside class to solve problems immediately instead of thinking on how to remake the architecture as a whole.
14
u/thanatica 21d ago
You do know you can instruct it with more than just "fix this issue and be quick about it" right?
185
u/Cautious_Tonight 21d ago •
I’m so happy to see this meme format coming back
111
u/Dillenger69 21d ago
It goes with the factory's factory factory
61
u/Alarmed_Fudge_5706 21d ago
Loved that when I first started using it in pytest.
It’s all “Look I made a fixture!”
And I’m like “Can I get my tokens back? I already had a fixture for that in my conftest file dipshit.”
22
u/Soupdeloup 21d ago edited 21d ago
Nice to know it wasn't just me lol. Gave it 5 lines of code from a bash script and 5 from powershell for renewing certificates, asking it to simply combine both and give me a bash script. Wasn't even using any powershell modules so it was extremely straightforward.
It proceeded to write me a 582 line bash script with tests, an implementation and back out plan, along with its own mock certificate renewal process in Python that was meant to mimic openssl. The entire thing was filled with redundant helper functions.
First time I've seen it be that overly verbose with such a trash answer.
11
u/Atmosck 21d ago
For real. It's like Claude suddenly became a fucking idiot about 2 days ago
4
u/krishenm 20d ago
I'm glad I get to pay to refactor stupid code now
3
u/ElectrSheep 20d ago
A recursive function is really just a self-help function when you think about it.
3
u/Right_Stage_8167 20d ago
Sorry for all, it seems AI has used my old code.
3
u/rover_G 20d ago
Put it in the shared/utils/helpers/
2
u/Ambivalent-Mammal 20d ago
That should help (functionally speaking).
2
u/MaximusLazinus 20d ago
I just think they're neat
2
u/stupled 20d ago
Read the content first and thought to myself "this is what AI does"
2
u/exqueezemenow 20d ago
Feeling attacked...
2
u/rout247 21d ago
Just reviewed a merge request from an intern where this definitely applies.
1
u/NewManufacturer4252 21d ago
How much does it cost? It's not open source software. They need trillions
1
u/Positive_Method3022 20d ago
It doesn't know how to design programs with OOP design patterns. It is always trying to add shit functions inside class to solve problems immediately instead of thinking on how to remake the architecture as a whole.
1
u/tubbstosterone 19d ago
"You have any idea how many templates I can fit into this bad boy?"
1
u/Bali201 20d ago
Gonna show this to my CS101 students on Monday lol we just covered functions and libraries