From: Tony Arcieri Date: 2010-11-15T20:36:47+09:00 Subject: Re: Ruby Vs PHP --0016e6d64795bc459f049515da7a Content-Type: text/plain; charset=ISO-8859-1 Cool story, bro On Mon, Nov 15, 2010 at 2:45 AM, James Vince wrote: > PHP has more lines of code in the actual File than ruby. If you take a > controller (in Rails) and compare it to a PHP program, PHP has more > lines of code. However Ruby has libraries to do most of this code for > you, if you include the libraries that you use Ruby has much more lines > of code. > > But because people who program Object Oriented Code tend to consider > library code to not part of the actual program (as it is part of the > API) they see it as "the actual code you write is less". > > Having large libraries of code (coupled with the fact that Ruby has a > slow interpreter) does make Ruby somewhat slower performance wise, > however a Ruby programer would argue that because Ruby language is more > efficient that PHP by re-using code and by using symbols where necessary > instead of strings that makes up for it's slow rendering time. > > -- > Posted via http://www.ruby-forum.com/. > > -- Tony Arcieri Medioh! A Kudelski Brand --0016e6d64795bc459f049515da7a--