• rtxn@lemmy.worldM
    link
    fedilink
    arrow-up
    50
    ·
    3 months ago

    People with deep knowledge of string instruments and/or shell languages are rapidly approaching your location.

    • alias_qr_rainmaker@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      ·
      3 months ago

      i need to get familiar with fish. i’ve studied the syntax but i still have hardly used it, and if you really want to learn how to code something, you gotta keep typing it until it’s in your muscle memory.

      • Herzenschein@pawb.social
        link
        fedilink
        arrow-up
        8
        ·
        3 months ago

        While I do like fish syntax, you don’t really need to learn it. You can just use it for your interactive use in the terminal while writing your scripts in bash.

        • null@piefed.nullspace.lol
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 months ago

          This is the way. I’ve never even attempted to script anything in fish, but it’s just a great interactive shell OOTB. I think at most I have a colorscheme and an alias or 2.

          • Victor@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            3 months ago

            Scripting in fish is so much better than bash, holy. Reduced my scripts’ LOC by probably 50% and made them actually legible when coming back to them 6 months later. I converted all my personal scripts from bash to fish.

        • Lena@gregtech.eu
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 months ago

          Yeah that’s what I do to, I don’t need to write complex scripts anyway. Fish’s syntax seems interesting though.

        • alias_qr_rainmaker@lemmy.worldOP
          link
          fedilink
          arrow-up
          0
          ·
          3 months ago

          Python is my #1 language. It’s the one I always code in. But I also know javascript and bash/zsh (also Ruby but I haven’t written any ruby for years, so I’d need a refresher)

          • luciferofastora@feddit.org
            link
            fedilink
            arrow-up
            1
            ·
            3 months ago

            At my previous job, I had only barebones beginner skills in Java and absolutely no idea of Java EE when I started. I reckon you’d get back in the flow with Ruby quickly enough.

            But also, python is nice.

    • alias_qr_rainmaker@lemmy.worldOP
      link
      fedilink
      arrow-up
      6
      ·
      3 months ago

      i’m all about oh-my-zsh. I mostly like it because it loads a random theme every time you run source ~/.zshrc, so you get exposed to a lot of different themes, so you can pick one that looks really nice. The one I’ve gone with was the most minimalist theme I could find. export ZSH_THEME="miloshadzic"

      • rtxn@lemmy.worldM
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        3 months ago

        OMZ is overrated. It’s too much code for too little effect when most of the plugins boil down to aliases and prompt themes, and all you have to do is source them in your .zshrc anyway.

        I am by no means saying that the plugins and themes are useless. I’m saying that OMZ is unnecessary.

  • nialv7@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    3 months ago

    I once had the misfortune of having to read zsh source code…

    In unrelated news I no longer use zsh.

      • nialv7@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago
        /* Lasciate ogni speranza.                                                  *
         * This function is a nightmare.  It works, but I'm sure that nobody really *
         * understands why.  The problem is: to make it cleaner we would need       *
         * changes in the lexer code (and then in the parser, and then...).         */
        

        source

        there are more if you keep reading… (also, spoiler alert, this function doesn’t work, that was why i was looking at it.)

        • Victor@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          3 months ago

          It doesn’t surprise me in the least bit, considering how complex everything seems to be in zsh.

          Years ago, I was trying to understand how the completion system works. I never understood.

          Even the user-facing shit you need to put in your .zshrc in order to enable completion in the first place does not look like it’s made for a human to read. Not to mention that you need to enable it in the first place.

          Configuring zsh was such a mess for me, for years. I don’t know why I used it for so long. Glad I gave fish a shot.

  • BoosBeau@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    3 months ago

    But… they literally used that post to tell people they play both the violin and the viola…

  • YTG123@sopuli.xyz
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    It’s true that there is a very large transfer between violin and viola, but just the experience of playing multiple instruments, even if this similar, increases one’s value by a lot. Depending on the situation wherever you happen to be, demand for violists can be much greater than for violinists, so playing both rather than the violin alone is a big boost.

  • Seleni@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    3
    ·
    3 months ago

    Technically a viola is actually a mini cello. I hope his knowledge of bash & zsh is better than his knowledge of musical instruments lol