by DougWebb · 10y ago · 0 comments
Then a friend offered me a software development job that I couldn't turn down, developing in a language I hadn't used before: Perl. It changed my life. I could never handle large projects before because it was too much code and too much hassle to manage it all, but Perl is so good at letting me express what I want the computer to do that wasn't a problem anymore. Perl allowed me to make software development my career, instead of just one of the tasks I did as part of my career.
Later on, I had a similar experience with jQuery. I had been using Javascript since it first came out, but it was such a hassle to deal with the DOM and cross-browser issues that it was never worthwhile to do anything important with Javascript. The maintenance cost was too high. So we added little nice-to-have enhancements to our webapp, but nothing that had to work. Then jQuery came along and changed everything. It was suddenly much cheaper to develop complex and required functionality in javascript, and client-side web development became a big part of the platform.
These days I'm writing C# web apps, with plenty of client-side javascript. My problems dealing with large complex codebases went away years ago; Perl helped me to discover that I could do this as a career, but it hasn't been a crutch.
Here's the thing. If I read Perl code written by someone new to Perl, it's hard to read.
If I read Python code written by someone new to Python, it's easy to read.
You can write good code in almost any language, so yes, of course you can write readable code in Perl (and I expect experienced Perl programmers write readable code). With Python, everyone writes readable code (albeit some people write more readable than others).
Actually, Python is one of the few languages I've come across where the beginner's code is usually easier to read than an experts (who are more likely to use more obscure features of the language).
Do we have these contests in Ruby?