3 ms·
PHP nowadays has almost all the syntactical candy of Ruby, and Laravel has all the neat stuff of Rails. But PHP is so much faster and easier to deploy. All it h
by rgj 7y ago
PHP nowadays has almost all the syntactical candy of Ruby, and Laravel has all the neat stuff of Rails. But PHP is so much faster and easier to deploy. All it has against it is its bad past and ditto reputation.
- verisimilidude 7y ago> PHP nowadays has almost all the syntactical candy of Ruby Seems like a stretch. Ruby's whole mantra is about offering a very flexible and forgiving syntax. Matz wants to make programmers happy. The whole language is candy. You get powerful tools to make your own candy. It's extremely sweet. For some people, it's too sweet, which is understandable. PHP is not that. You may have a point if you're limiting the conversation to people who use OOTB Laravel or Rails to build basic CRUD apps. I'd argue Ruby is a much richer language for those who explore it beyond Rails.
- mekster 7y ago> PHP nowadays has almost all the syntactical candy of Ruby Umm, no? Ruby's syntax is far better. No war against where opening brackets go, no semi colons (which is quite important for typing less after auto completion) and apparently you don't surround with multiple functions to chain which would make the code totally unreadable on PHP with random prefix/suffix/underscore separated function names.