4 ms·
I would suggest Ruby for a few reasons. Perl is so similar to Python especially in its strengths that you would be primarily using one or the other. Ruby has
by twunde 15y ago
I would suggest Ruby for a few reasons.
Perl is so similar to Python especially in its strengths that you would be primarily using one or the other.
Ruby has great web framework support with tons of resources and plenty of people for both Sinatra and RoR. With Dancer and other Perl frameworks there's not a lot of info online besides the framework docs.
With Ruby, you can use Heroku, while Perl you're going to need to use a Heroku buildpack to get it working which is more work.
I don't know if vi has syntax editing for Ruby, but I would imagine it does.
Perl would be easier to learn but wouldn't really give you any extra benefits over Python. It would probably be just as good to use a Python framework, either Bottle or Flask.
Ruby is much more OO, has better framework resources and is different enough from Python that its worth learning
- twunde 15y agoPS I actually came from a Python/C++/PHP background and started working on Perl. Frankly there's not a whole lot of difference between the 3 languages in what they can do. All have reusable packages like CPAN/Ruby gems/ Python's eggs using pip. The main difference for web is which framework u like the best and what language syntax you prefer.