Following this logic, every language is Perl with a bit of this or that. Perl was one of the first of the kind, but people saw obvious problems with it and so they innovated with 'little nicer syntax' or 'little better object system'. You might not want any of this, but you can't deny most people are happier with Python or Ruby.
I'd say it's more like Perl is every language with a bit of this or that. A sufficiently "skilled" Perl hacker can write everything from bad C, to bad Lisp, to bad Fortran, in Perl -- and most certainly can write plenty of bad Perl in Perl, too. It's writing good Perl that's hard.
Re:Is Ruby Dying?
by hahainternet on Wednesday December 25, 2013 @02:16PM
(#6963896)
You're not wrong, but I wrote that from my perspective, as someone who primarily writes Perl and needs a compelling reason to switch. Obviously someone who was writing code pre-Perl will probably see things a different way.
This is true for all language that do things right the first time.
If you learn C well, everything else(C based languages) look the very same.
Perl enjoys that first movers advantage.
There was a talk by Guido Van Rossum effectively saying that Perl, Python and Ruby are the same language.
I'm actually a big fan of Perl, but your characterization of Ruby is wrong. Ruby is Perl with object-orientation first, nicer syntax is a minor detail after that.
Re:Is Ruby Dying?
by hahainternet on Wednesday December 25, 2013 @02:17PM
(#6963900)
It's the only major detail to me, because I can do the majority of what I would use in Ruby, in Perl. Nicer syntax is something I can't do though.
If you can constrain yourself a reasonable OO system in Perl why can't you constrain yourself to a nice subset of the syntax?
Re:Is Ruby Dying?
by hahainternet on Thursday December 26, 2013 @10:21AM
(#6966489)
I can, I can deal with overly verbose maps or shifting variables off @_ but Ruby provides some similar features to Perl 6 right now. That is an advantage on its part. It's just not compelling enough to make me switch as Perl can do most of the rest just fine.
See the CPAN module Moops.
Re:Is Ruby Dying?
by hahainternet on Wednesday December 25, 2013 @06:39PM
(#6964715)
I'm thinking more of things like the p6 arrow. Moops is part of the first part, things I can already do in Perl that are in Ruby.
Ruby also now has a VM, which people may or may not find more useful. I for one prefer Ruby 1.9.x to 1.8.x.
If Ruby has nice syntax then Smalltalk should be the syntax of the Gods ;)
The language of the Gods is clearly Lisp. Unfortunately it's such a pain to work in that most of the time the Gods just use Perl anyway. Oblig. XKCD: http://xkcd.com/224/
Remember we are comparing to Perl ;)
Having written some Python I agree. Having written a lot of Ruby I disagree.
Re:Is Ruby Dying?
by delluminatus on Tuesday December 24, 2013 @11:11AM
(#6959877)
Can you elaborate on Python's baggage? I'm simply curious.
Re:Is Ruby Dying?
by hahainternet on Wednesday December 25, 2013 @02:19PM
(#6963909)
I wouldn't characterise myself as any sort of expert so really I'm just talking about minor things like ternary operators, ugliness with super, scoping, the annoyance of PEP8 being overly specific etc. Just decisions taken for the sake of 'correctness' that end up being annoying.
Python isn't so bad, decorators and importing is all very swanky. I find that in general though things tend to be less elegant than intended but the delusion of perfection is maintained. I oppose Python's core philosophy and having used a bunch of Django, that also soured me a bit.
I have found no compelling reason to switch, and lots of annoyances that don't seem to exist in Perl.