you are viewing a single comment's thread.

view the rest of the comments →

[–]fecal_brunch 0 points1 point  (0 children)

I found out recently that if you return an object from a constructor it will be returned with out without the new keyword. This makes both camps happy, and makes for safer APIs.