Should you wrap 3rd party libraries that you adopt into your project? [closed]

It’s a perfect example for YAGNI:

  • it is more work
  • it inflates your project
  • it may complicate your design
  • it has no immediate benefit
  • the scenarion you write it for may never manifest
  • when it does, your wrapper most likely needs to be re-written completely because it is tied too closely to the concrete library you were using and the new one’s API simply doesn’t match yours.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)