hi, i was interested if perl is still relevant in this day and age. Perl has been on the decline for a very long time now. Perl 6 (now named 'raku) not being backwards compatible with perl 5 code made the already small perl community even smaller by splitting it in half. A good example is lisp with it’s thousands of different dialects.

Is it still worth using or is it bound to legacy software forever? Like cobol.

      • tsz@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 years ago

        List comprehension can actually do that, yes. This is one of the scripting aspects of python I use most commonly, and is probably one of its best-known features for creating “one liners”.

          • tsz@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            1
            ·
            3 years ago

            Absolutely bizarrely incorrect take on like everything you’ve stated as though it were fact. This is some classic reddit hole-digging and I’m loving it.

              • tsz@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                1
                ·
                2 years ago

                I’m no offended. It’s just weird listening to someone make shut up about something they clearly have no experience with outside of memes, while talking like it’s complete fact. It’s a strange thing to do.

      • JTskulk@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 years ago

        I think it’s an autocorrect typo. Should be: If it is actually a single line, I’d argue that you do.