Every industry is full of technical hills that people plant their flag on. What is yours?

  • rollmagma@lemmy.world
    link
    fedilink
    arrow-up
    7
    arrow-down
    7
    ·
    20 days ago

    Software engineering: Don’t script stuff! Seriously, just stop, it’s a huge waste of everybody’s time. I don’t fucking care if you think mygitwrapper.sh is the bomb. I want you to know your git commands by heart or just learn to use the damn history on your terminal.

    Scripting is only allowed if it’s part of the project’s infrastructure. Stop faffing about.

      • jjjalljs@ttrpg.network
        link
        fedilink
        arrow-up
        2
        ·
        19 days ago

        I had this fight at work once. Someone wanted to write a makefile to invoke pytest. I didn’t want to do that because I wanted people to know how pytest works, so when something goes wrong they know they can do -vv or --pdb or whatever.

        Scripts that cover trivial steps and obscure stuff people should know, I’m not a fan of.

    • Septimaeus@infosec.pub
      link
      fedilink
      arrow-up
      2
      ·
      19 days ago

      Agree but I’d add “unnecessarily” or something, because yeah many common aliases and smaller convenience functions offer meager cumulative time savings in trade for the skill atrophy, but script files can also contain seriously lengthy and/or complex logic that would simply be counterproductive to attempt typing line-by-line into a terminal without any mistakes, especially for scripts that are run often.

    • calcopiritus@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      19 days ago

      Every day I have to open a VM as I turn on the computer. I could go find and open Virtual box, then select the VM and open it. Why would I do that when I can open the terminal and run a script that does that in a single action. Then I have to SSH into that machine that always has the same IP. Why should I have to type the IP every time?

      Scripts are good when used correctly. I don’t need to know what vboxmanage to run to do whatever I want, I just needed to search it once and remove it from my brain.

      Kinda unrelated but:

      I don’t think you should know how to do everything from the git CLI. For 99% of use cases, the IDE already knows how to do what you want to do, with a simple button. For the rest, just search for the git command when you need it.