3 ms·
I would suggest Ruby. I found php easier to learn, but it was so easy to write bad code in it. Ruby on the other hand forces you to follow solid design patterns
by cmykgrayscale 16y ago
I would suggest Ruby. I found php easier to learn, but it was so easy to write bad code in it. Ruby on the other hand forces you to follow solid design patterns.
Also on a side note, ROR is a framework for Ruby, so you cant compare it with PHP.
There are some really good PHP frameworks out there too (Symfony, CakePHP, Codeigniter) but they essentially try to imitate ROR and bring those design paradigms to php.