Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

ruby vs perl

Name: somebuy 2013-06-27 4:38

Name: Anonymous 2013-06-27 4:43

No discuss, Perl doesn't even have real classes.

Name: Anonymous 2013-06-27 4:47

>>2
Which is why it is superior.
The only classes a man needs are character classes.

Name: Anonymous 2013-06-27 4:49

>>3
As long as that man doesn't write real programs, yes.

Name: Anonymous 2013-06-27 5:35

Name: Anonymous 2013-06-27 5:57

Ruby is flawed. Perl is crap. Use C for your scripting needs. Or better yet, some kind of Scheme or Lisp.

Name: Anonymous 2013-06-27 6:43

>>6
How is Ruby flawed? Do Scheme or Lisp have the libs that Ruby has?

Name: Anonymous 2013-06-27 9:37

perl is crap of you use it for tasks is was not designed to do from the beggining.

Name: Anonymous 2013-06-27 9:42

>>7
Scoping rules matz himself regrets about
>>1
Lua

Name: Anonymous 2013-06-27 9:43

Ruby is healthy and stong, while Perl has AIDS and needs life support machines to keep him breathing.

Name: Anonymous 2013-06-27 10:08

>>9
Proofs that he regrets them? I've found only this:
http://fredwu.me/post/36493181321/an-interview-with-yukihiro-matz-matsumoto

Zhou: Looking back, is there anything in Ruby you wish you did differently?
Matz: In the beginning my goal was to replace Perl as my tool therefore I have borrowed many ideas from Perl, such as using the dollar sign ($) to indicate special variables. Looking at it now it seems to be a little bit too much and too similar to Perl. There are a few other things but mainly I think it is too similar to Perl. Back then before the ruby idioms were formed, there were many things that were borrowed from Perl - nowadays I think many of them weren’t necessary thanks to the ruby and rails idioms.

Name: Anonymous 2013-06-27 10:14

Ruby. I hate it how you need to put $ in front of every scalar variable in Perl. Also, Ruby looks nicer. Both are pretty powerful languages.

Name: Anonymous 2013-06-27 10:23

Name: Anonymous 2013-06-27 10:28

>>9
Lua
53-bits integers and 1-based arrays are puke-worthy.

Name: Anonymous 2013-06-27 18:02

>>14
don't forget about the slowness of "integers" (since they're floats)

Name: Anonymous 2013-06-27 18:35

What about Python?

Name: Anonymous 2013-06-27 18:42

>>16
It is unanimously acknowledged as shit for a variety of reasons, including but not limited to:
* the Forced Indentation of Code
* Slow by design
* Crippled lambdas and functional programming support in general
* Declaration is assignment, assignment is declaration
* Version hell

Name: Anonymous 2013-06-27 19:31

>>17
Declaration is assignment, assignment is declaration
Actually, that is the defining feature of a scripting™ language.

It isn't unique to Python or Ruby. It all started with http://en.wikipedia.org/wiki/Hoc_%28programming_language%29

Name: Anonymous 2013-06-27 19:57

i think rubies are worth more than pearls.

Name: Anonymous 2013-06-27 20:01

>>17
I'm fairly sure Ruby is slower than Python, forced indentation is annoying but still a good practice.
Version hell is an annoyance tho, I'll agree with that

Name: Anonymous 2013-06-27 22:36

>>18
I'm pretty sure such an "invention" predates 1984, try perhaps BASIC.

Name: Anonymous 2013-06-27 22:51

>>21
Basic has "Dim VariableName As VariableType"

And Visual Basic is just a clone of Pascal.

Name: Anonymous 2013-06-27 22:52

Name: Anonymous 2013-06-27 23:33

>>22
DIM was originally for changing the default number of array elements upon initial array element assignment, after all its called "DIM" for "DIMensioning", I believe it got that keyword from FORTRAN which also allowed for implicit declarations. Oh wow, the first high level language in existence also allowed you to "assign without declaration". Your plan 9 daddy didn't actually invent something. Oh no!

Name: Anonymous 2013-06-28 0:19

>>16
Python > Ruby > Perl

Name: Anonymous 2013-06-28 0:29

Perl > Python > Ruby

Name: Anonymous 2013-06-28 0:41

>>25
Python > Perl > Ruby

Name: Anonymous 2013-06-28 0:42

Also, C > *

Don't change these.
Name: Email:
Entire Thread Thread List