News for hackers. Stuff that matters.
Re:Is Ruby Dying? by hahainternet on Tuesday December 24, 2013 @10:04AM (#6959580)
I am in Manchester. I write new Perl code. Python is Perl with a little nicer syntax and a shitload of baggage from overly opinionated people. Ruby is Perl with a little nicer syntax and no other advantages.

I have found no compelling reason to switch, and lots of annoyances that don't seem to exist in Perl.

Re:Is Ruby Dying? by Demiurge on Tuesday December 24, 2013 @10:29AM (#6959692)
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.
Re:Is Ruby Dying? by aaronem on Thursday January 02, 2014 @03:48PM (#7002164)
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.
Re:Is Ruby Dying? by kamaal on Tuesday December 24, 2013 @11:01AM (#6959827)
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.

Re:Is Ruby Dying? by collyw on Wednesday December 25, 2013 @08:06AM (#6962925)
There was a talk by Guido Van Rossum effectively saying that Perl, Python and Ruby are the same language.
Re:Is Ruby Dying? by dasil003 on Tuesday December 24, 2013 @11:10AM (#6959874)
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.
Re:Is Ruby Dying? by dasil003 on Thursday December 26, 2013 @10:02AM (#6966430)
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.
Re:Is Ruby Dying? by chromatic on Wednesday December 25, 2013 @04:04PM (#6964238)
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.
Re:Is Ruby Dying? by lowmagnet on Tuesday December 24, 2013 @01:40PM (#6960557)
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.
Re:Is Ruby Dying? by ossdev1 on Tuesday December 24, 2013 @11:41AM (#6960036)
If Ruby has nice syntax then Smalltalk should be the syntax of the Gods ;)
Re:Is Ruby Dying? by orclev on Tuesday December 24, 2013 @02:00PM (#6960633)
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/
Re:Is Ruby Dying? by dasil003 on Tuesday December 24, 2013 @11:47AM (#6960066)
Remember we are comparing to Perl ;)
Re:Is Ruby Dying? by rubiquity on Tuesday December 24, 2013 @10:58AM (#6959819)
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.