View Single Post
Old 02-01-2010, 01:12 AM   #2 (permalink)
ryanmr
The Contributor
 
ryanmr's Avatar
 
Join Date: Jun 2008
Location: Twin Cities, Minnesota, USA
Posts: 44
Thanks: 3
ryanmr is on a distinguished road
Default

I think a part of PHP's beauty is that it does not have strong typing, or a distinction between types of objects and primitives.

Doing Java development shows the contrast between the two ideologies. In one, you can document things easily and do many things quickly and dynamically. In the other, you have the assurance that what you specify is what is (usually).

Type Hinting is enough for most purposes, and simple naming convention with mixed type checking should be enough for primitives.
__________________
blog twitter ifupdown
ryanmr is offline  
Reply With Quote