Ruby and boogers

R

Rick DeNatale

Hi

Found a commercial where Java Duke is contemplating about Ruby while
picking his nose and eating boogers: http://www.zeroturnaround.com/a-javarebel-story/

Mark

Yeah but he still doesn't get it.

1. "Even RUBY looks attractive."
2. The product being advertised might help with his write bug, test,
find bug cycle time, but he's still going to get carpal tunnel from
all that extra typing!
 
J

Jano Svitok

Yeah but he still doesn't get it.

1. "Even RUBY looks attractive."
2. The product being advertised might help with his write bug, test,
find bug cycle time, but he's still going to get carpal tunnel from
all that extra typing!

Right. Perhaps he'll learn about duck typing someday ;-)
 
C

Curt Sampson

[Java blah blah blah]

Right. Perhaps he'll learn about duck typing someday ;-)

Static typing is infinitely superior to dynamic typing when done
properly. Just remember, Java's failure here is that it does it so
badly.

As far as folks using Java goes: I write software for a living. The more
of my competition use Java, the better for me.

cjs
 
R

Robert Dober

[Java blah blah blah]

Right. Perhaps he'll learn about duck typing someday ;-)

Static typing is infinitely superior
of course Curt, of course, infinitely, maybe you can give us some data
for your bold (and that's a, euphemism ;) statement.
to dynamic typing when done
properly. Just remember, Java's failure here is that it does it so
badly.

As far as folks using Java goes: I write software for a living. The more
of my competition use Java, the better for me.
That however sounds true to me.
R.
 
M

Marc Heiler

Static typing is infinitely superior to dynamic typing when done
properly. Just remember, Java's failure here is that it does it so
badly.

Dynamic typing is infinitely superior to static typing when done
properly.
Just remember, ruby's success is because it does not enforce its
paradigm onto your brain.
 
C

Curt Sampson

What is an implementation of static typing that you would consider
done right then? A language that makes use of something like the
Hindley-Milner type inference algorithm so that types don't usually
need to be explicitly declared? Ocaml or Haskell?

Yes. I'm quite fond of Haskell.

Type classes in particular are wonderful; they get rid of that problem
in Ruby where you're always wondering which particular equality and
comparison methods you should be implementing, and which ones your
superclass can safely provide for you.

It's very comforting to write a piece of code and know that, due to the
compiler's type checking, it's impossible for someone (usually me, down
the road) to misuse it.

cjs
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,274
Messages
2,571,365
Members
48,049
Latest member
robinsonkoff

Latest Threads

Top