PHP has the ability to type hint function arguments to only accept that type or derivatives of that class or interface, this can lead to better interface design and much less runtime checking (as calling a type hinted function implicitly requires the parameter be of the correct type)....
moreAlways looking for new or intuitive ways to write better code is a constant struggle because we all know that developers are human and deadlines are nearing....
more
Page: 1