- From: Glen Huang <curvedmark@gmail.com>
- Date: Wed, 5 Aug 2015 08:22:30 +0800
- To: Brian Kardell <bkardell@gmail.com>
- Cc: public-webapps <public-webapps@w3.org>
On second thought, what's the difference between prollyfills and libraries exposed web APIs in a functional style (e.g., node1._replaceWith(node2) vs replaceWith(node2, node1)? Or in a wrapper style like jquery does? Prefixing APIs doesn't seem to be that different from using custom APIs? You might say the prefixing approach resembles native APIs more closely, but when changing your code to use native APIs, modifying one character or several doesn't really make much difference (they are the same if you find & replace), as long as you have to modify the code.
Received on Wednesday, 5 August 2015 00:23:08 UTC