02:34 | <Abdiel Lopez> | Hi, I’m new to this community. I’m curious if there have been any proposals for operator overloading, or what the current thoughts are on it. |
02:41 | <Andreu Botella> | Hi, operator overloading has been a common topic of conversation, and the current status seems to be that the people working on JS engines consider it unfeasible because it would regress performance |
03:03 | <Ashley Claymore> | https://github.com/tc39/proposal-operator-overloading |
03:03 | <Ashley Claymore> | Status: withdrawn |
03:58 | <jschoi> | It was specifically withdrawn at this plenary; you can read the reasoning here: https://github.com/tc39/notes/blob/main/meetings/2023-11/november-28.md#withdrawing-operator-overloading |
03:58 | <jschoi> | But, as has been already mentioned, the reason was because many engine implementors say that operator overloading is impossible to do without penalizing the performance of every JavaScript program. It will probably never happen in JavaScript. |