3 ms·
Syntactically, the languages are not all that similar. It's probably closer to Python. My impression was that Ruby is much closer to Perl than Python.
by kbenson 14y ago
Syntactically, the languages are not all that similar. It's probably closer to Python.
My impression was that Ruby is much closer to Perl than Python.
- nkozyra 13y agoDon't really see that. PHP was basically written as a C-style interpreted language with $vars. It ended up so much like Perl that there's a decent amount of Perl and PHP you can cross-paste without error.