02-01-2010, 01:12 AM
|
#2 (permalink)
|
|
The Contributor
Join Date: Jun 2008
Location: Twin Cities, Minnesota, USA
Posts: 44
Thanks: 3
|
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.
|
|
|
|