• jjj@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    3 days 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

  • Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 days 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.

  • underscores@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 days 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!

    • Lodespawn@aussie.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days 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 …