re: PHP - Elegant method call VIEW POST


I generally support this, as it can also allow extra management logic like sharing object instances (like what's usual with object factories so common in Java).

As long as the number of arguments is kept at an acceptable minimum, that is.

code of conduct - report abuse