News Feed
Sections




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

Hyperpolyglot.org:
Syntax for Common Tasks - Side-by-side (Ruby, Perl, Python & PHP)
August 15, 2011 @ 10:12:50

On Hyperpolyglot.org there's an interesting listing of scripting language syntax - PHP, Python, Ruby and Perl - showing some of their common syntax and data structures side by side.

Sections of the reference sheet include

  • arithmetic and logic
  • arrays
  • execution control
  • libraries and modules
  • objects
  • reflection

It's interesting to see how the various languages compare, where some have shortcuts for things and others fail at the same (or make it much more difficult). Descriptions for the different row types are also included.

0 comments voice your opinion now!
scripting language compare syntax table


blog comments powered by Disqus

Similar Posts

Brian Swan's Blog: MSSQL vs. SQLSRV: What’s the Difference? (Part 2)

Pádraic Brady: Is Facebook’s HHVM Building PHP's Coffin?

Johannes Schluter's Blog: Scalar type hints in PHP trunk

PHP.net: Release of PHP 5.4.36, 5.5.20 and 5.6.4 (Includes Security Fix)

Matthew Turland's Blog: The Acme of Skill


Community Events

Don't see your event here?
Let us know!


configure part2 podcast api application introduction community release framework performance series symfony2 laravel library voicesoftheelephpant example conference php7 interview opinion

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework