News for hackers. Stuff that matters.
Re:ES7 brings two new features by thaiphanvevo on Saturday October 14, 2017 @07:56PM (#15475010)
Lots of websites still use Prototype.js. Magento still has it as a dependency. Don't want to break the web!
Re:ES7 brings two new features by curtisblaine on Monday October 16, 2017 @12:08PM (#15484254)
Would it be bad though? A lot of APIs change in the browser space. WebRTC was broken a hundred times. Libraries depending on Prototype would probably be old, maybe insecure. You need to break it from time to time, you can't be backwards compatible all the time.
Re:ES7 brings two new features by eximius on Sunday October 15, 2017 @05:35PM (#15479425)
Would it break the web though? Wouldn't they just override the native implementation with a JS one?
Re:ES7 brings two new features by curtisblaine on Monday October 16, 2017 @12:05PM (#15484227)
Then the two implementations would probably be incompatible (different signatures, different implementation / return values) and would cause unexpected errors down the chain. So, essentially, breaking the web and making it difficult to fix it.