Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

RefreshinglyBlue Blog:
PHP vs Ruby - Practical Language Differences
Sep 03, 2007 @ 14:57:00

From the RefreshinglyBlue blog, there's a new post that makes a comparison between two of the most popular web scripting languages - PHP and Ruby - on a practical, basic level.

There are rather significant syntactical differences between PHP and Ruby. For example PHP requires semicolons at the end of lines and generally requires curly brackets to enclose blocks of code. Ruby, on the other hand, uses newline characters to denote the end of a line of code...

The post goes through other differences like: value return methods, function/method naming, similarities between them, frameworks, namespaces, documentation and hosting options.

tagged: language difference similarity practical syntax framework namespace documentation language difference similarity practical syntax framework namespace documentation

Link: