3 ms·
Comparing an interpreted langauge like PHP with C speedwise doesn't make any sense. Even Java is semi-compiled to an intermediate form unlike the strictly inte
by NathanKP 17y ago
Comparing an interpreted langauge like PHP with C speedwise doesn't make any sense. Even Java is semi-compiled to an intermediate form unlike the strictly interpreted PHP.
Also, in my experience there are plenty of libraries available for PHP. It comes with a lot more built in functionality than other languages.
What I like about PHP over Ruby is that it has a more comfortable C-like syntax. In comparison Ruby is more like Basic than C. When I use Ruby I miss the simple curly braces of C or PHP. In my humble opinion that is a much better way of defining blocks of code.
- benatkin 17y agoIt makes sense in the context of PHP's creation. When PHP was created, web apps were still commonly written in C/C++. PHP is much older than Rails, even if you don't count PHP 1 or 2.
- eru 17y ago> In my humble opinion that is a much better way of defining blocks of code. I also don't like Ruby's syntax in this regard. However I long for the simple ways of Haskell, Clean and Python here, using indentation.
- andrewvc 17y agoComparing a language like PHP to a framework like rails makes no sense either. That was my point.