4 ms·
It reminds me of Perl. Perl literally gave me a headache last time I coded in it. (Incidentally, this is why I'm wary of Ruby as well.) Besides, I am totally sa
by swolchok 18y ago
It reminds me of Perl. Perl literally gave me a headache last time I coded in it. (Incidentally, this is why I'm wary of Ruby as well.) Besides, I am totally satisfied with Python.
- apgwoz 18y agoI don't see too much similarity between Perl and PHP. Perl has a the syntax of a loose cannon. PHP's syntax is very Java like. * PHP doesn't have special variables that change things about the language like, the starting index of an array. * Out of the box, Perl requires you to import modules to get functionality that PHP has with a simple function call. * Perl has support for classes, but you feel like it's a hack every time you write one. * PHP has classes, that give you the notion that they are part of the language (which they are of course, so are Perl's) Until recently, I hadn't programmed in Perl in years, but I find that coming back to it again has given me a new outlook on it. You might wanna take another look. I still much prefer Python though.
- davidw 18y agoPerl is also way faster than PHP, and has had nice things like closures since... well, for a long time now. Not that I'd want to use Perl these days, but language-wise, it's a bit more advanced than PHP is.
- dbul 18y agoway faster -- sounds subjective to me. What references say this?
- berntb 18y ago>>* Perl has support for classes, but you feel like it's a hack every time you write one. Check out Moose for Perl. Then name an OO system in production that is better. (-: If you can give an example, I'll immediately buy a book on it. :-) Edit: Syntax.
- apgwoz 18y agoI've seen Moose, but haven't actually used it. The codebase I work with at work uses the ole Perl blessed hashes, and we won't be switching any time soon.