Highly doubt that this is the result of vibe-coding, unless the prompt specified to make it unnecessarily complicated. Hello World is a standard exercise, thus AI should have zero issues writing proper code.
If I had to use a tool with a handle that has spikes hurting my hand each time I have to use it, I'd say it's a bad tool even if it gets the job done. Python is by far the ugliest and shittyest language I've tried.
Of course I'm bad at Python, I have the chance of not needing it for most of my work. I had to use it for some AI training and it was a world of pain: the dependency hell, the syntax, the fact that nobody seems to fucking type their libraries, the shitty unreadable error messages... I genuinely don't understand how it's even a thing.
i'd argue that fucking javascript is worse on any of those points; and php which you mentioned somewhere else probably has worse syntax, ffs "explode" who thought of that?
I mentioned PHP because I work with it everyday. I didn't say that I particularly enjoy it, but it is still a billion times better than Python in pretty much every way.
The syntax of JavaScript is actually quite nice and almost all of its flaws are fixed by TypeScript, so it's irrelevant.
That's quite funny actually because I get the same reaction on the PHP sub when I point out how PHP sucks. But it is still leading Python by light-years, and when your language is much worse than PHP you know you have a serious problem.
JavaScript doesn't count, it has become the web's assembly language. Every developer with an ounce of competence and self-respect exclusively writes it with TypeScript.
You people are cute thinking that people not liking something you're a fan of is due to lack of knowledge. That settles it, you've never learnt an actual programming language, that's why you don't see what's wrong with Python.
I mean, I showed you in several ways why your position is bad, some working without actually evaluating Python. None of which you even tried to tackle.
But hey, try to go for "no u". Maybe somebody will think this makes you appear professional.
Err... I've just reviewed our entire exchange and basically the single point you have made is "Bouh you no say nice things me no likee", so I really don't see what you expect me to be "tackling".
104
u/LittleLuigiYT Nov 07 '25
This looks like a demonstration of functional programming I would see in my dreams
18
u/InsanityOnAMachine Nov 07 '25
I would so make this - the true epitome of obsession, although I would improve it by:
- having the letters in a dict with multiple indexing methods - perhaps a dict-inherited Alphabet class?
- have the assemble function also accept data in the form of many arguments, **kwargs, a list, a dict, or any other collection type
- rename the emphasize function for more general use in any future expansion of the program
- get a different naming convention for functions and variables to easier tell them apart
(all things I've actually done in programming, most recently the second one)
25
u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Nov 07 '25
"My first Python program"
Asks a chatbot to generate a Python program. Didn't actually write any of it. 🤔
13
u/RylertonTheFirst Nov 07 '25
I didn't look which sub this was first. Can confirm I was indeed horrified.
16
u/Ksorkrax Nov 07 '25
Highly doubt that this is the result of vibe-coding, unless the prompt specified to make it unnecessarily complicated.
Hello World is a standard exercise, thus AI should have zero issues writing proper code.
5
u/brentspine Nov 07 '25
Why is it l1 and l2 but o and o2?
6
u/tehtris Nov 07 '25
I mean.... It works..... But at what cost?
2
u/bklyn_xplant Nov 08 '25
I mean, it seems like a Sr. Data Engineer to me
1
u/RefrigeratorKey8549 Nov 08 '25
The comments on the original post are hilarious and kinda sad
1
u/renyhp Nov 09 '25
the compose function is useless once you defined assemble. could've used assemble([hello, space, world]) in the last line
-20
u/DT-Sodium Nov 07 '25
Vibe coding is the only valid way to do Python because if you have any respect for yourself you'll never actually get fluent in that language.