ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  What I Hate About Your Programming Language
Subject:   php is also missing function overloading
Date:   2003-05-14 07:27:13
From:   anonymous2
last time I checked, I couldn't do function overloading by param signature, which sucks major browneye. There was some wack way of naming the same function differently for each param permutation and using the main function as a traffic cop.

Granted, in Perl I just lazily shift off and do sanity testing in module, but when writing OO code I prefer to overload functions, particularly constructors.

1 to 1 of 1
1 to 1 of 1