The Joy of Perl (1998)
21–30 of 82 posts
Re: The Joy of Perl (1998)
#22It is. Very much so.
Re: The Joy of Perl (1998)
#23Used to spend a ton of time writing Perl (see username). Moved on to better designed languages. Which are not hard to find. There are a few big issues with Perl 5 but the biggest is easily the mess of references vs flat values. Python, Ruby, JavaScript and many other dynamic languages do not make the programmer think about whether you are going to pass a data structure like an array or hash as a reference or direct v…
> join(‘,’,@{$foo->{‘bar’}})
Thank you for that example. I guess the equivalent in JavaScript is: foo.bar.join(',')Re: The Joy of Perl (1998)
#24Used to spend a ton of time writing Perl (see username). Moved on to better designed languages. Which are not hard to find. There are a few big issues with Perl 5 but the biggest is easily the mess of references vs flat values. Python, Ruby, JavaScript and many other dynamic languages do not make the programmer think about whether you are going to pass a data structure like an array or hash as a reference or direct v…
If you don't think about these things in python, you're going to be scratching your head when you see something like this:
>>> foo = ['a','b','c']
>>> bar = foo
>>> bar[1] = 'z'
>>> foo
['a', 'z', 'c']Re: The Joy of Perl (1998)
#25I can't imagine programming in any other programming language than Perl.
I can’t imagine programming in Perl anymore. I did a bit in a previous job and it was a ball ache trying to remember the syntax and all it’s quirks. I don’t know why you’d want to use it over other popular scripting languages like JS/Ruby/Python. All have more active communities. AWS don’t even support Perl
It wasn’t until I was “forced” to learn Python last year and started working heavily with AWS that I actually enjoyed scripting languages again for smallish glue type scripts.
This year I finally started using Node.
But yeah for career reasons, I wouldn’t tie my horse to Perl in 2019.
Re: The Joy of Perl (1998)
#26Earlier quoted context omitted.
I can’t imagine programming in Perl anymore. I did a bit in a previous job and it was a ball ache trying to remember the syntax and all it’s quirks. I don’t know why you’d want to use it over other popular scripting languages like JS/Ruby/Python. All have more active communities. AWS don’t even support Perl
Some workers complains about their tools. Other just use whatever, fix problems, and make money.
Re: The Joy of Perl (1998)
#27Re: The Joy of Perl (1998)
#28Re: The Joy of Perl (1998)
#29Used to spend a ton of time writing Perl (see username). Moved on to better designed languages. Which are not hard to find. There are a few big issues with Perl 5 but the biggest is easily the mess of references vs flat values. Python, Ruby, JavaScript and many other dynamic languages do not make the programmer think about whether you are going to pass a data structure like an array or hash as a reference or direct v…
> join(‘,’,@{$foo->{‘bar’}})
You might write it this way. I prefer to use the features of the language developed in the last decade: join ',', $foo->{'bar'}->@*
Which if that looks spooky, the * simply means everything in the array. You can just as easily slice: join ',', $foo->{'bar'}->@[2..5]Re: The Joy of Perl (1998)
#30Earlier quoted context omitted.
Ruby definitely has its niche in web development mainly due to Rails, Jekyll and Sinatra. Quite a weird choice for other things. Pretty sure Homebrew on Mac uses it. It’s not the most performant of languages (although it’s definitely getting better).
Homebrew is the only thing I think Ruby is perfect for. It's just a DSL for describing how to fetch and build a program, like Makefiles but more convenient.
https://www.digitalocean.com/community/tutorials/configurati...