News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Kevin Schroeder's Blog:
Objections to dynamic typing
February 08, 2011 @ 11:22:05

Kevin Schroeder has a new post to his blog today about dynamic typing (a big part of PHP's variable handling) and how it has nothing to do with scalability in reply to some comments about how using them can hinder the performance of an application.

Every once in a while I inject my opinions into places where they are not welcome. I have heard from people in the staticly-typed realm of how amateur dynamic typing is. Some people are interested in understanding how to use dynamic typing, others, not so much. So what I would like to do is talk about some of the arguements made against dynamic typing. Clearly PHP will be my reference point, but many of my points will be salient across many dynamically typed languages.

He dispels some of the myths surrounding PHP's dynamic typing. He points out that PHP isn't always dynamically typed, that bad things can happen with compiled code too and that bad or missing validation of data isn't a reason to jump all over variables that could shift types.

0 comments voice your opinion now!
objection dynamic type opinion


blog comments powered by Disqus

Similar Posts

Jani Hartikainen's Blog: A simple way to make your code better: Stop adding more parameters

Cal Evans' Blog: Six ways to be a better client for your developer - Point 3

Mathias Verraes: When to Use Static Methods

Reddit.com: PHP.net gets a new design. Opinions divided

Debuggable Blog: Better array syntax for PHP: Here's your chance to weigh in


Community Events





Don't see your event here?
Let us know!


language podcast laravel framework release configure application library wordpress bugfix project interview list developer api introduction series threedevsandamaybe code community

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework