• wise_pancake@lemmy.ca
      link
      fedilink
      arrow-up
      7
      ·
      7 days ago

      This happens when I outsource reading the docs to AI agents.

      wait… there was a function for that? Why did you tell me to build this house of cards

    • SirQuack@feddit.nl
      link
      fedilink
      arrow-up
      1
      ·
      5 days ago

      I too, tried using regex to strip html tags. This was in php with hardly any knowledge of oop.

      A university education really improved me there, since they trained you in Java to a high degree within 20 weeks (alongside stuff like UML). PHP is a fine starter language, but as applications grow, a more native oop approach with build-time validation, really made me a better developer.

  • Kojichan@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    6 days ago

    I’ve been building my own PHP and JavaScript libraries without actually using any existing open-source ones.

    Self-taught, didn’t learn about the fun stuff until recently.

    Now I’m so far behind in technology, I feel outdated.

  • Feyter@programming.devM
    link
    fedilink
    arrow-up
    5
    ·
    6 days ago

    I feel like the LLM guy should be the psycho doctor doing unethical experience with the clinic patients…

  • cmhe@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    5 days ago

    I know this post is more about the committing on LLM “fixes”, but find the other reasons more interesting.

    Similar to the date & time library there are a couple of other things that look easy at a first glance, but get complicated very quickly, because it has so many special cases:

    • lexicographic sorting (different languages sort things differently)
    • Postal address formatting (different standards in different countries, with many different context sensitive rules)
    • string handling
  • fibojoly@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    7 days ago

    Tried to do a proper analysis of a bug in homologation that’s preventing our future customer to test the product, while N+3 and N+4 demand twice-daily updates through video call with ten other managers on it. Two weeks of proper madness, that was.

    Stopped the meetings for one fucking day and we had it fixed before 5pm.

  • wise_pancake@lemmy.ca
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    7 days ago

    Most recently:

    I had to parse an html table with a column of printed python dictionaries, the dicts wrapped a mixed delimiter list of SQL statements of various types.

    It’s truly an abomination.

    I’ve never had to use pythons AST module to parse data before…

  • CrackedLinuxISO@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    7 days ago

    At my last job, there was no planning of work/projects. Like, there was a general plan of “We need feature X by Q3 and here’s what it should do”, but nothing about breaking work down into smaller units or prioritizing different tasks.

    The manager would drop an email: “Hey, can you do …” and that was it. Now it’s another thing to throw down the waterfall. Big surprise, the same bastard would harp about how the project was underperforming!

  • devnev@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    2
    ·
    6 days ago

    Tried to understand what options were available on a JS package, which mangled the options before passing them on to another JS package, which mangled the options before passing them onto another JS package, …