What is the best web language today?
What is the worst web language?
Does the practice of one vs another show the capabilities of the developer, or the limitations of the task?
Those are some tough questions to answer. I’ve somewhat talked about this before. I would probably say that the problem is the question is too broad. I’d really need to ask back, “better in what way?”
My personal opinion, and I point out that it’s merely my opinion because I’ve been pulled into debates with folks that disagree on this, is that the visitor/end-user’s experience is what matters the most (you have to draw your line in the sand somewhere, that’s where mine is). I feel that most of the currently popular web languages are capable of producing the same result to the end user, so the developer should use what they’re most comfortable with, whether that be .NET, PHP, Ruby, etc. You’re going to be able to find clients that will let you develop in any of those languages, so that’s not a sticking point to me. It’s difficult to go much further beyond that without more definition around the question. For instance if you wanted to take it down to OOP, one language might start shining compared to another, or if it was an issue of smallest learning curve, another language might take the spotlight.
I know some other folks that argue it’s whoever the client is might dictate the language, and I see merit to the argument, however I’ve also found that you can lead a client towards a particular language under many circumstances, aside from them already having an internal environment setup that they want you to develop for (although I’ve also had clients willing to setup an environment just for what I’m building them). So, all that to say, there’s a lot of exceptions/gray area.
I personally prefer PHP for web development. It has a low learning curve, outstanding centralized/maintained documentation (seriously … it blows the rest out of the water when it comes to documentation in my opinion), and an amazingly strong community behind it. It’s also a strongly proven language for web development. All one has to do is look at Facebook, Wikipedia, Digg, WordPress, etc, and you can see it hard at work. Yahoo! also has a strong presence in the PHP community which has led to some great API’s for search, geocoding, mapping, etc. Most of their services have an API, and most of those API’s will return results in serialized PHP, making developing on top of them very easy.
As for the second question, which is worst, I’m not sure I can answer that for many of the reasons I outlined above. There are some horrible ones out there, but they likely started to scratch an itch, you can’t necessarily blame the language if it got bent out of it’s original purpose.
The third question is an interesting one. I think I would likely argue that it would show the capabilities of the developer. Given that I view choosing the correct language as what the developer is most comfortable with, I’m not sure that I could answer any other way. I’ve yet to see a webapp/website built on a language such as Ruby on Rails/.NET/etc that I couldn’t replicate in PHP. I might not be able to replicate something made in .NET in Ruby/on Rails, however that is not a fault of Ruby, it’s a fault of my knowledge of the language.
Anyhow, sorry it took so long for me to write an answer, it’s been a busy week. Hope that at least somewhat answers how I feel about the questions.
This post is part of Episode 6 of the weekly Ask Matt Series.
I am a Web Developer located in Richmond, VA. Primarily, I work on the back-end of websites utilizing my database and desktop application coding experience from the past to achieve desired results for the user interface. Recently however I have started moving more into the UI realm, utilizing JavaScript and AJAX to allow for better performance out of the back-end systems.