Quantcast ESOUI - View Single Post - Let's get rid of LibStub!
View Single Post
05/01/19, 06:10 AM   #18
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 679
Originally Posted by sirinsidiator View Post
I believe this can be done in 3 "easy" steps:
But why?

I fail to see any real benefit in dropping LibStub, other than getting rid of a bunch of copies of one tiny source file. LibStub sets up a common namespace for libraries. All you're going to achieve is spill that namespace into the global one. To quote a classic:

Namespaces are one honking great idea -- let's do more of those!

At the same time you're winding up to break unmaintained addons just for the sake of breaking them -- when libraries they use get an upgrade that will not register with LibStub anymore.
  Reply With Quote