5 ms·
I've been a Perl fan for years and I really enjoyed using the language in my personal projects (and in a couple of professional projects, it was "the secret ing
by reidrac 13y ago
I've been a Perl fan for years and I really enjoyed using the language in my personal projects (and in a couple of professional projects, it was "the secret ingredient"), but I couldn't fight all the prejudices surrounding Perl; so I finally gave up and learnt Python hoping to find a quality job as software developer.
It worked out pretty well and I found a great job. I love doing Python, the community and the culture behind the language, so I've never looked back.
I get contacted from time to time by recruiters looking for Perl developers but the truth is that it is still less frequent than Python; and now I don't have to explain that you can use a powerful language in different ways and that it's up to you if your code is readable, maintainable and easy to deploy.
- gautamsomani 13y agoBut he used perl to build some thing huge. Just wondering if that huge thing would have run as smooth in python as in perl?
- scardine 13y agoI used to love Perl as well, it is amazing for text processing and at the time was the silver tape of Internet. It is pleasant to write, but I can't say the same for reading: sometimes it is hard to understand my own Perl code after untouched for a few months. In this regard, my experience is the same: Python is more readable and easy to maintain. There's more than one way to do it (TMTOWTDI or TIMTOWTDI, pronounced “Tim Toady”) is a Perl programming motto. This is diametrically opposed to the zen of Python: "There should be one-- and preferably only one --obvious way to do it" Once you get used to Python, it is very hard to get back to “Tim Toady”, and your Python experience is likely to heavily influence how you write in other languages.
- ycamel 13y agoWhat a absurd python propaganda it is. Read http://www.wikivs.com/wiki/Perl_vs_Python http://www.wikivs.com/wiki/Perl_vs_Python
- berntb 13y agoI did a year of Python. There are good and bad things with everything. Python was OK, the learning curve the first few weeks/months is really well planned. I prefer Perl given a competent team. Mostly because of the CPAN Testers and because it is fun. Bad with Python are details like e.g. no real one-liners. I also think there is something rotten with the language culture that e.g. results in lots and lots of language war trolls from 19-karma accounts on HN...
- takluyver 13y agoIs there any reason to expect that it wouldn't run as well in Python? They're both dynamic, interpreted languages, and it's not as though no-one's ever written a large codebase in Python.
- anon_java_hater 13y agoIt sounds like you don't actually understand technical tradeoffs of programming languages. >I couldn't fight all the prejudices surrounding Perl Programming languages aren't people, you can't be racist against a PL. Stop using rhetoric and instead talk technical. The reason most people don't use Perl is because it's both impractical and theoretically stupid (not composable, etc). It's kind of hard not to be prejudice against a language that has (albeit optional) dynamic name resolution. The only time I've seen Perl work is for writing tiny scripts (e.g milworm.com), but there are tons of other languages that can be done in. It's actually funny because the fact that you don't have to escape regular expressions in the source of a Perl program is probably one of the only reasons it's popular for writing crappy scripts. >it's up to you if your code is readable, maintainable and easy to deploy. By that logic assembly language would be considered usable for large projects
- ycamel 13y agoHAHA Python is fucking readable. https://github.com/hiddenillusion/AnalyzePE/blob/master/AdobeMalwareClassifier.py https://github.com/hiddenillusion/AnalyzePE/blob/master/Adob... http://blog.delroth.net/2013/03/escaping-a-python-sandbox-ndh-2013-quals-writeup/ http://blog.delroth.net/2013/03/escaping-a-python-sandbox-nd...
- RussianCow 13y agoAny language can be made unreadable. I can write terrible Ruby/Perl/PHP/JavaScript, too. Doesn't make them bad languages.
- ycamel 13y agoYes, Python is more unreadable than Perl to me. :) Read https://coosoft.wordpress.com/2013/02/24/the-perl-vs-python-debate/ https://coosoft.wordpress.com/2013/02/24/the-perl-vs-python-...
- ycamel 13y agoI can't understand Why Pythonista always interfer in other languages articles and bitching it and propaganda Python. Get out Python anal fucker.
- mitchty 13y agoAgreed, I"m a Ruby person personally and often end up writing things that later I only shake my head at and rip out and replace with a few lines or a better idiom/algorithm. To be honest the parent comment to yours first link reminds me of a rather lot of shell/perl created by people that treat things with the procedural mindset and just keep bashing their heads against a problem until it succeeds. There isn't anything wrong with that but that python really is no different stylistically than any of the "horrible perl" stories I've seen. I've seen perl that made most ruby look unreadable at first glance too. I think it really goes to show encrypting human thought into programming languages is not trivial. Also I'm getting sick of these $foo_language is better/worse/a threat(really threat? weird word choice imo) to anything. Every language I learn I learn something new in. Even if its the ones I don't like much like Java/PHP, doesn't mean they're bad languages or they're devoid of being able to teach you new ways to approach problems. Meh, ranted longer about this than I'd thought I would.