Jump to content

Recommended Posts

Posted

Ruby is nice, but about the same you get with python.

One of the apps most hyping Ruby is Ruby on Rails, which is indeed very very nice, but with less hype you get the same for python (example: turbogears http://www.turbogears.org/ ) and even PHP - yes, good ole PHP ( see http://cakephp.org/ )

So if you feel tempted by the Ruby on Rails hype, and you do not know Ruby, well, you do not need Ruby to get such a web framework, if you know PHP it is piece of cake = cakePHP http://cakephp.org/ !

Posted

Ruby is nice, but about the same you get with python.

One of the apps most hyping Ruby is Ruby on Rails, which is indeed very very nice, but with less hype you get the same for python (example: turbogears http://www.turbogears.org/ ) and even PHP - yes, good ole PHP ( see http://cakephp.org/ )

So if you feel tempted by the Ruby on Rails hype, and you do not know Ruby, well, you do not need Ruby to get such a web framework, if you know PHP it is piece of cake = cakePHP http://cakephp.org/ !

I like Python, and I was teaching it to a friend, but I still think Ruby is better designed over all, at least the definition of the language itself. (I can't really say much about the internals of the language, but I have heard that Python has a more flexible C API.) The tradeoff is maturity vs. design (at this point). I don't use Ruby on Rails as of now, know very little about it, and generally don't buy into hype, period. I just evaluate the features of a language objectively.

One of the biggest advantages with Ruby is that it has real anonymous lexical closures. There are problems with Marshalling Proc objects (reified blocks), but I'd still rather use an anonymous block rather than the kludgy solution of passing a named function that is only used a few times, or making it a method.

http://www.c2.com/cgi/wiki?PythonVsRuby...this gives a better view of the issues than I offer.

And PHP is just a terrible language. I really have no incentive to use it.

Posted
[i like Python, and I was teaching it to a friend, but I still think Ruby is better designed over all, at least the definition of the language itself. (I can't really say much about the internals of the language, but I have heard that Python has a more flexible C API.) The tradeoff is maturity vs. design (at this point). I don't use Ruby on Rails as of now, know very little about it, and generally don't buy into hype, period. I just evaluate the features of a language objectively.

One of the biggest advantages with Ruby is that it has real anonymous lexical closures. There are problems with Marshalling Proc objects (reified blocks), but I'd still rather use an anonymous block rather than the kludgy solution of passing a named function that is only used a few times, or making it a method.

http://www.c2.com/cgi/wiki?PythonVsRuby...this gives a better view of the issues than I offer.

And PHP is just a terrible language. I really have no incentive to use it.

No need to argue, as I said, Ruby is nice. REAL nice. Just - Python is nice too. REAL nice.

They have more in common that differences, and it is either whatever you happen to learn first or whatever you need for a special application. (For me it was also the unicode support, or better the lack of it in Ruby. But that's coming soon, isn't it.)

For a beginner I would strongly recommend to start with one of them, and not C or C# or Java or anything else.

Another point is that if I speak PHP very well and want to make a nice web application - and there are probably many like that out there - do I need to learn Ruby to use the power of Ruby on Rails?

Here the answer is no, there are equivalent solutions for python, and even for php.

And the php webframework I mentioned - cakePHP, is even in some points better than Ruby on Rails.

PHP is as good as the programmer using it. it is easy to write good code in php, and even more easy to write bad one!

Again cakePHP is a good example for clean and good code in php, which does not have to hide, and which allows excellent applications, which, before I've checked it out, I thought would only be possible with Ruby or Python...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.



×
×
  • Create New...