![]() |
where is ruby used for ?
where is ruby used for ?
for web or normal programming? or is it like php or javascript? |
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). |
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 |
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.
|
so far I seen it used in books, training, conferences, developer journals and t-shirts, but never in practice.
|
Quote:
|
Is twitter still run on Ruby?
|
It's now using Scala not ROR
|
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 |
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.
|
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 |
Quote:
Dan |
PHP ist die Übersprache von dem Internet!
|
Quote:
Code:
def f(name) |
Quote:
|
| All times are GMT +1. The time now is 03:07 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.