Found one of my old lua scripts

3 months ago by irelephant [he/him] to c/programminghumor

jjj 14 points 3 months ago

You fool! I would recognized kwrite's "just edited" orange anywhere.

Which means... this "old lua script" isn't old at all and hasn't even been saved.

PREPARE TO BE GARBAGE COLLECTED IN RITUAL COMPETITIVE PAIR PROGRAMMING

path: 0 23081567, hotness: undefined, score: 14, children: 2
irelephant 13 points 3 months ago

That's kate, and I had just formatted it.

path: 0 23081567 23082378, hotness: undefined, score: 13, children: 1
jjj 3 points 3 months ago

Owned.

Edit: Turns out Kate is the editor component used by Kwrite.

path: 0 23081567 23082378 23085919, hotness: undefined, score: 3, children: 0
Ephera 6 points 3 months ago

A few years ago, there was someone from the customer side who was learning to code, and I was the most seasoned dev in that project, so it was kind of expected of me to give mild feedback when the guy presented what he had coded.

And yeah, at some point, the guy showed off around 2000 lines of Python code in a single function. He explained the whole lot and I just sat there like, what the fuck, I don't understand a thing.
Thankfully, I wasn't expected to give much feedback, so I just told the guy that modularization would be important. 🥴

I would've loved for this to not be a customer situation, so that I could bluntly tell the guy that this seasoned dev is completely flattened by the complexity he deals with, because becoming good is about managing complexity rather than expanding your brain to fit all of it in there.

path: 0 23084679, hotness: undefined, score: 6, children: 0
underscores 5 points 3 months ago

"this is very clear and useful" - old lua head

and I do enjoy Lua

I wrote scripts for obs with Lua that hook with notify send and save video buffers with date time filenames etc, blah blah and it wasn't vibe coded!

path: 0 23081782, hotness: undefined, score: 5, children: 0
FarraigePlaisteach 4 points 3 months ago

Yo dawg, we heard you like if statements so ...

path: 0 23082992, hotness: undefined, score: 4, children: 1
Lodespawn 2 points 3 months ago

Yo dawg, if we heard you like if statements then we put if statements in your if statements else if I heard you like if statements then we put if statements in your if statements else if we heard you don't like if statements then we put if statements in your if statements else if I heard you don't like if statements then we put if statements in your if statements else if you heard we like if statements then we put if statements in your if statements else ...

path: 0 23082992 23086795, hotness: undefined, score: 2, children: 0
imsufferableninja 2 points 3 months ago

Very satisfying

path: 0 23080247, hotness: undefined, score: 2, children: 0