Is there any downside for aliasing in JavaScript

hahah , sorry. You always want people to be able to call the old method
While I agree that there's no reason not to export the aliased method, I've never ever had any situation in which it was needed outside the plugin itself.
They have downsides you may notice when someone actually imports over 300+ plugins than alias Game_Map.prototype.update, but who would be that crazy to do... oh, forget it, rm users are going tol do that eventually...
In those cases, aliasing is the least of their problems. They're basically pushing 300+ script elements to the DOM, which already screws with performance regardless of whether aliasing is being used.
In those cases, aliasing is the least of their problems. They're basically pushing 300+ script elements to the DOM, which already screws with performance regardless of whether aliasing is being used.
That should only make a difference on startup time, not on the game itself.
start up time is important though .... we want speedy games. I would suggest then maybe minimizing the scripts?
hahah , sorry. You always want people to be able to call the old method
And this leads to the downside: you reach a point where you don't know what behavior to expect if different plugins are calling different versions of the same function.

I think hate leads to the downside, too... but that may be something different.
While I agree that there's no reason not to export the aliased method, I've never ever had any situation in which it was needed outside the plugin itself.
Compatibility patch... sometimes we need to call the previous method before aliased...

just now i add compatibility patch for my EST - AUTO COLOR PLUS with Yanfly Message Core...

and it require me to use the method before yanfly edited.

Original thread: https://forums.rpgmakerweb.com/threads/is-there-any-downside-for-aliasing-in-javascript.49628/