in reply to Re^3: From PHP to Perl - Should I, and how? in thread From PHP to Perl - Should I, and how?
Ok. I understand that at some point these judgments will have to be my own, but I figured I'd ask you for some advice right now ;).
Cause I'm a little kid (heh at heart at least), a lot of what I do is focused around games. My friend has asked me to make a game for his site, which I'm thinking would take 8 hours of PHP coding, with a PHP login / logout system already in place. I'm guessing this is something I should use PHP for, right? Especially because I don't know really any Perl?
On the other hand, I'm hoping to get a big game site going, with lots of cool features and all that fun stuff. I have nothing done except for a web design and some PHP for handling the things I've described above. At this point, would it be worth switching to Perl? Which begs the question, where does PHP hit that wall which makes Perl so much better, and how likely am I to hit it?
Re^5: From PHP to Perl - Should I, and how?
by gwadej (Chaplain) on Mar 10, 2009 at 13:33 UTC
|
There are probably many people here at the Monastery more qualified to argue the PHP vs. Perl thing. But, I guess I can give some advice on the rest.
Given your situation, I would probably complete the current project in PHP. Next, I would try to do the same exercise in Perl on a separate site. Expect the second attempt to be harder in some ways (you are learning a language at the same time) and easier in others (you aren't trying to design a solution to a new problem).
Depending on the kind of game you are writing, CPAN may be able to supply some tools that you can use. (I used Games::Maze to solve part of a problem for me a few years ago.)
One downside of this approach is that your Perl program may be more PHPish than it should be. But you can correct your accent later as you gain more experience.
| [reply] |
|