06 Oct

Seldo.Com Blog – PHP needs to die. What will replace it?

Ten years later, I can feel the tide turning again. Developers’ expectations of languages have moved on. If the critical thing Perl was lacking was PHP’s wonderfully flexible "associative arrays" (aka smart hashes), then what PHP is lacking is lambdas and method chaining. While PHP used to be the language where you could write a web page in twenty lines of code, nowadays it doesn’t feel like you’re doing it properly unless you’ve laid down at least a basic MVC framework of some kind. That boilerplate code is the tell: the language now requires modification by a framework to do what you need.

Back then, I felt the die-hards clinging to Perl for web development were silly. Now, with ten years of PHP experience under my belt, I’m in the same position. I can knock out a good website in an hour in PHP, and an excellent one in a day or two. Its performance characteristics are well-known and understood, so I can make it scale pretty much indefinitely. Every developer we’d want to hire knows it, and every system we’d integrate with has a wrapper library written in it. I am trapped by the convenience of PHP in a language that is losing its suitability for the task.

via Seldo.Com Blog – PHP needs to die. What will replace it?. I know what he’s talking about PHP is a language that at times shows it’s age and is ridiculed by people on the latest and greatest (Node.js/Ruby on Rails/etc). That being said PHP has some advantages that anytime soon are going to be hard to meet in terms of ease of deployment (name a shared hosts that doesn’t have PHP on it), tools and frameworks (WordPress, CakePHP, etc). I use PHP for my day job every day and will probably still be using it years from now, but there are times I wish the language itself was more modern. For a great overview of issues with PHP from a language design standpoint Hypercritical Episode 17 goes into some of the problems.

28 Jun

GitHub – Linguist

From time to time we get requests asking us to add support for new highlighting lexers, recognize additional extensions as certain languages, or ignore a directory from a repo’s stats graph.

The code for these concerns was scattered around the app. I decided to unify and package them all up into a single library. Now it’s open source.

So if you notice an unrecognized extension or you’re really into some obscure language that isn’t supported yet, now is your chance to help contribute back.

via GitHub – Linguist. Awesome job GitHub, nice to let the community help build out detection for specific languages and frameworks.

23 Feb

najafali.com – Why PHP is better than Ruby

PHP is better than ruby. There, I said it. In this article I’m going to show you why, and probably upset some twenty-something, flip-flop clad, mac-using hippie fanboys in the process.

via najafali.com – Why PHP is better than Ruby. Overall these are very intelligent and reasonable complaints against Ruby.

Update: I didn’t get the sarcasm in the article and yeah it was a pro-Ruby article.