Jump to content

What about Ruby??

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
14 replies to this topic

#1
debtboy

debtboy

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 916 posts
I haven't seen much of Ruby on this forum.

Let's have your opinions good or bad,
because Ruby on the Rails framework
is gaining ground in web development.
(Ruby the language also runs locally)

Like Django, it requires a special web server
configuration, whether it be Mongrel, FastCgi,
mod_ruby, etc...

It also promotes the MVC (Model View Controller)
Architecture which is all the rage in web development.

Object oriented, MVC, framework to create support files...
Ruby Gems (packages manager to add libraries)

Why no mention of Ruby (at least lately) on the forum. :rolleyes:

#2
oliver.rush

oliver.rush

    Newbie

  • Members
  • PipPip
  • 24 posts
Interesting topic. The weird thing is that yesterday I was looking for something related to ruby on rails in the tutorial area.

I had to look for something outside, but there's plenty material about this on the web. Check the Rails Summit page, it was all built on Rails.

#3
Guest_Jordan_*

Guest_Jordan_*
  • Guests
I used Ruby briefly, and I personally didn't like it. There are several people on the forum that do use it, though. I've often wondered if we should create a sub-forum under web development for the language.

#4
BlaineSch

BlaineSch

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,448 posts
I have not heard much about it at all. I heard it was on some "10 languages every programmer should know" list or something. I have never seen much source code and frankly don't see a reason to know it besides expanding my knowledge of various languages, which I am currently doing now so if I did it would be in a few years.

No real opinion on it yet, besides the fact that the name makes me think of rotten grape fruit for some reason which makes it slightly less appealing.

#5
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
From what I can tell, the people who like Ruby REALLY like it. Personally, I just find the syntax irritating when compared to almost any other language. Given that I'm already familiar with three different web languages, I have no interest in adding another to the list.

Also, MVC is a design method to help make code reusable. It's been around for at least 15 years in the OOP world.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#6
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
I played with Ruby for a while and wasn't very fond of it. Like WingedPanther, I find the syntax irritating.

#7
Aereshaa

Aereshaa

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 790 posts
I personally like ruby a lot. It combines a perlish syntax, pure OOP, and the names of functions are the same as the C ones I've come to know and love. Also, the way ';''s work is this:
print "a statement on a line is ok without one"

print " but"; print " 2 statements must be separated."

print " You can, of course, do it like C.\n";
That's how it goes.
Watches: Nanoha, Haruhi, AzuDai. Listens to: E-Type, Dj Melodie, Nightcore.
"When people are wrong they need to be corrected. And then when they can't accept it, an argument ensues." - MeTh0Dz

#8
BlaineSch

BlaineSch

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,448 posts
That might get annoying Aereshaa, i'd be too much in a habit of putting a semicolon at the end to just not do it... is there not a way to combine one print for all of that?
echo "Hello".
	" World";


#9
Aereshaa

Aereshaa

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 790 posts
There is, just use +:
print "the string object" +
"has a + operator. if a statement clearly isn't finished" +
"it reads the next line"

Watches: Nanoha, Haruhi, AzuDai. Listens to: E-Type, Dj Melodie, Nightcore.
"When people are wrong they need to be corrected. And then when they can't accept it, an argument ensues." - MeTh0Dz

#10
debtboy

debtboy

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 916 posts

Aereshaa said:

I personally like ruby a lot. It combines a perlish syntax.
And you think that's a good thing :confused:

I use Perl every now and then and I think the syntax
is, for lack of a better word, "funky".

When a possible Perl task arises, I sometimes pick another
language because 6 months from now when they change the
environment (they always change the environment) I'll have to
read and edit that script ASAP.
Perl's power (manipulation via regex) is also it's Achilles tendon.
It's power is a good thing...
It's syntax... not so much.
$var=penny; $var =~ s/.e[n*y]/2 cents/g;
print "Just my $var";

I've looked at ruby, no comment.

Edited by debtboy, 09 October 2009 - 09:11 PM.


#11
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
I thought Ruby was dead..

#12
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Nope. In fact, it is gaining popularity fast.