http://qs321.pair.com?node_id=11127441


in reply to What is your favourite Linux scripting or programming language?

One has to boggle at the seven (as of this post) people who picked "YAML" (let alone the poll's authors for including it; then again it's used to "script" / configure ansible, k18s, openshift, yadda yadda so I might could see maybe a smidgen of validity to that as a choice).

The cake is a lie.
The cake is a lie.
The cake is a lie.

Replies are listed 'Best First'.
Re^2: What is your favourite Linux scripting or programming language?
by Corion (Patriarch) on Jan 25, 2021 at 15:28 UTC

    If you look at Github actions, they are shell scripts where each command is stored as a list entry in a YAML file. I'm not sure why they didn't go with simple shell scripts, but it seems that about every one of these CI things starts out as "simple YAML file" and evolves into a shell script, except stored in YAML.

      IIRC, storing scripts in an XML document indicating what interpreter to use for each snippet was patented by Microsoft years ago, but YAML might still be free to use ;-)

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
        patented by Microsoft years ago

        How many years ago? (As in, "Has the patent on that bad idea expired yet?")

Re^2: What is your favourite Linux scripting or programming language?
by jdporter (Paladin) on Mar 08, 2021 at 04:45 UTC
Re^2: What is your favourite Linux scripting or programming language?
by misterperl (Pilgrim) on Jan 28, 2021 at 21:16 UTC
    TY I voted also for our fav of course.. I'm also forwarding this to our Ruby team who are constantly telling us to get into the 2000's!