CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Ruby & Ruby On Rails (http://www.codingforums.com/forumdisplay.php?f=44)
-   -   where is ruby used for ? (http://www.codingforums.com/showthread.php?t=130517)

xellos 01-01-2008 01:02 PM

where is ruby used for ?
 
where is ruby used for ?

for web or normal programming?

or is it like php or javascript?

ralph l mayo 01-02-2008 08:12 AM

It's used for both web and normal programming. Probably more people use it to develop for the web, but I don't have any numbers.

It's more like PHP in that it's used in server-side coding but more like JavaScript in syntax (although it isn't a whole lot like either in syntax).

smitha 09-05-2008 10:13 AM

It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, extensible, and portable

The Integer class and its subclasses Fixnum and Bignum now have a reverse method. This is an important part of Ruby, as less object oriented languages will often make you use more standard procedural style within a class, e.g. a custom method I want to operate on strings would typically be a static method that takes a string as an explicit method in Java or C#, while in Ruby you would add it to the string class and continue calling it OOP style. Ruby even lets you add a method to a single specific instance of a class.
--------------------
Smitha

lyndas9254 12-08-2008 01:28 AM

I have used ROR for web development successfully. It is object oriented making development easier. ROR makes it easy to access data models with limited amount of coding. You also can scale the project or scale the web design. To grab ROR information go on google or go to Rubyonrails.org. These were very useful.

kucerar 12-12-2008 08:07 PM

so far I seen it used in books, training, conferences, developer journals and t-shirts, but never in practice.

pyngthyngs 05-09-2009 04:06 PM

Quote:

Originally Posted by kucerar (Post 759366)
so far I seen it used in books, training, conferences, developer journals and t-shirts, but never in practice.

LOL. You can't be serious. Here are a number of quality site run on ROR including Twitter (#49 on Alexa as of this writing): http://codingforums.com/showthread.php?t=160819

DesouzaC 08-13-2009 05:29 AM

Is twitter still run on Ruby?

Zangeel 08-19-2009 06:41 AM

It's now using Scala not ROR

funnymoney 08-19-2009 02:15 PM

i don't understand why there are new programming/scripting languages after PHP..

yea, yea, Ruby this Ruby that, but that's all tech mumbo-jumbo that 98% of people who are into programming never even figure out, not to say use it.

it's great, but not that great for me to switch on it. PHP Rulez :D

Zangeel 08-20-2009 08:30 AM

PHP does what most programming languages do. I mean they functionally do all the same things, the ROR framework isn't half bad though, but then again there's many PHP frameworks that copy Rails. The advantage of PHP is it can be done procedural, and OO, and it's straightforward. A intermediate PHP user can do the same as an advanced PHP user using procedural instead of OO, so it's an attractive language.

funnymoney 08-21-2009 05:54 PM

you know why php is good, because ppl actually type php code..

now, does anyone here know how to type ruby code.

no.

i thought so :p

whizard 08-26-2009 07:06 PM

Quote:

you know why php is good, because ppl actually type php code..

now, does anyone here know how to type ruby code.

no.

i thought so
Win.

Dan

mlse 09-17-2009 10:45 AM

PHP ist die Übersprache von dem Internet!

Fou-Lu 09-17-2009 01:26 PM

Quote:

Originally Posted by funnymoney (Post 856256)
you know why php is good, because ppl actually type php code..

now, does anyone here know how to type ruby code.

no.

i thought so :p

Code:

def f(name)
puts "#{name} can codz the rubz"
end
f("Fou-Lu")
// Fou-Lu can codz the rubz

Mind you, I only know it because it was a requirement for school...

funnymoney 09-18-2009 12:17 AM

Quote:

Originally Posted by Fou-Lu (Post 866106)
Mind you, I only know it because it was a requirement for school...

school? oh, that was loong time ago ;)


All times are GMT +1. The time now is 03:07 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.