• jtrek@startrek.website
    link
    fedilink
    arrow-up
    39
    arrow-down
    2
    ·
    2 days ago

    At work, the team isn’t very good at python. They’re mostly SQL people. Which is fine. I’m happy to mentor and guide.

    The product lady said to me “can you write a guide on confluence about how to do python good?”

    I’m like, people write whole published books about that you gotta pay money for. I’m not going to bang out a couple paragraphs and code blocks and suddenly people are heavy weights.

    I wrote something anyway because I don’t want to further irritate the product lady.

    • Drekaridill@lemmy.wtf
      link
      fedilink
      arrow-up
      26
      ·
      2 days ago

      I was a TA in a class that expected knowledge of C. A lot of students who had only ever used Python asked if I could ring them up to speed. One student even asked if he could write it in Python and then I could “just translate it over”

      • Jankatarch@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        20 hours ago

        Tbf I blame whoever did was planning the prerequisites. CS majors actively wish NOT to learn any more languages than they physically have to in my experience.

      • Dumhuvud@programming.dev
        link
        fedilink
        English
        arrow-up
        10
        ·
        2 days ago

        It’s rather trivial to translate Python to C:

        $ cat << EOF > ./shitpost.c && gcc -O2 -o ./shitpost ./shitpost.c && ./shitpost
        #include <stdlib.h>
        
        int main(int argc, char** argv) {
            system("python3 -c \\"print(\\\\\\"Hello, World!\\\\\\")\\"");
            return 0;
        }
        EOF
        Hello, World!
        

        My C is a bit rusty though, sorry.

    • vga@sopuli.xyz
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      Sounds like a perfect job for oneshotting LLM prompt and direct copy-paste without looking at the results.

    • TehWorld@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 days ago

      So, look AI sucks, but busywork like this might do ok at “a quick guide to python”.

      • ImmersiveMatthew@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        9
        ·
        2 days ago

        It is not capitalism and this is not me defending it, but rather pointing out that it is how humanity naturally seems to structure itself. The narcissist / psychopaths / sociopaths tend to get into “leadership” positions and the dumb folks idolize and empower them and thus we end up with the smartest people writing a few paragraphs for the manager who is socially savvy but suffers from the Dunning Kruger Effect. This happens in all economic and political systems including Capitalism and Communism as the Sam people tend to get into positions of power.