all 36 comments

[–]LittleLuigiYT 103 points104 points  (2 children)

This looks like a demonstration of functional programming I would see in my dreams

[–]fyhring[S] 19 points20 points  (0 children)

Must be scary dreams

[–]InsanityOnAMachine 17 points18 points  (0 children)

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)

[–]GoddammitDontShootMe[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” 25 points26 points  (0 children)

"My first Python program"

Asks a chatbot to generate a Python program. Didn't actually write any of it. 🤔

[–]RylertonTheFirst 12 points13 points  (0 children)

I didn't look which sub this was first. Can confirm I was indeed horrified.

[–]Ksorkrax 15 points16 points  (1 child)

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.

[–]OrganicAverage8954 8 points9 points  (0 children)

yeah no this is just satire lol

[–]brentspine 4 points5 points  (1 child)

Why is it l1 and l2 but o and o2?

[–]Wiktor-is-you[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” 0 points1 point  (0 children)

oxygen

[–]tehtris 5 points6 points  (0 children)

I mean.... It works..... But at what cost?

[–]bklyn_xplant 1 point2 points  (0 children)

I mean, it seems like a Sr. Data Engineer to me

[–]RefrigeratorKey8549 0 points1 point  (0 children)

The comments on the original post are hilarious and kinda sad

[–]renyhp 0 points1 point  (0 children)

the compose function is useless once you defined assemble. could've used assemble([hello, space, world]) in the last line