17

I have seen try/catch staments and rest api calls on a class constructor! OMG

Comments
  • 0
    I don't see anything wrong with putting try/catch in a ctor (construction *can* fail after all), but an API call...

    Just no
  • 0
    That's something new I heard over a while.
Add Comment