June 2009

Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        

Sponsors

  • Alltop, all the top stories

« Portrait of the Artist as a Young Database Strategist | Main | MySQL GUI Tools Release 10 »

March 07, 2007

Comments

Hi!

Also of note is Bill Karwin's talk on Using MySQL with the Zend Framework:

http://www.mysqlconf.com/cs/mysqluc2007/view/e_sess/10599

Cheers!

I will definitely also talk about Zend Framework.
See you at the MySQL conference. I'm looking forward to it!

While the Zend Framework goes a long way to help remedy PHP's lack of features and obscurity, it's still not an optimal solution. The reason is that PHP itself is b0rked. Not because it is a dynamic language or because it's not OOP enough.

The design of PHP is what irks me so much. Erik Naggum goes a long way to describe my feelings about PHP in his description of Perl: http://www.underlevel.net/jordan/erik-perl.txt

To quote the bottom line: "put simply: you can commit any dirty hack in a few minutes in perl, but you can't write an elegant, maintainabale program that becomes an asset to both you and your employer; you can make something work, but you can't really figure out its complete set of failure modes and conditions of failure."

And I guess much of this stems from the very fact that PHP was built with Perl as a role model. That, in my most humblest of humble opinions, is pretty much like building a new 20-story office building with a moldy, rotten 2-story wooden barn as a role model.

Other than that, PHP is fine. And the Zend Framework too.

I think the reality is that you can write good or bad code in any language. It depends on the discipline and skills you bring to the task. Having a good framework can make that task easier though.

PHP has polymorphism, inheritence and encapsulation, so to me that's all the core capabilities of Object-Oriented Programming; the rest is up to the developer. But maybe there is some specific capability you think PHP is missing here.

LISP is an interesting language, but it's kind of a mind-f**k, in the same way that FORTH or APL is. (In fact, you could consider all three of those really as machine languages for very specific types of operations.)

These languages have their uses but they encourage a very particular way of coding. In LISP it's all about recursion and symbolic list manipulation; in FORTH it's all about using the stack efficiently; in APL it's all matrix operations. If you can transfer good habits from LISP or FORTH to another language, you're a better programmer than most.

But languages always come down to personal preference. If someone likes or dislikes one language over another, who am I to argue?
--Zack

PS. Ok, I doubt anyone programs in FORTH or APL anymore.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Copyright

  • Copyright (c) 2005-2009 M. Zack Urlocker
  • All rights reserved.

Guitar Hero

Google


Guitarcenter

Alltop News