3 ms·
The flipside is that the standard library from Java / C# are huge, large enough that there's basically one complete and proper implementation. In JS land, you
by TAForObvReasons 9y ago
The flipside is that the standard library from Java / C# are huge, large enough that there's basically one complete and proper implementation.
In JS land, you have multiple different implementations with different feature sets and behaviors. Code written for V8/chrome/node may behave differently in safari/jscore or IE/edge/chakra or firefox/spidermonkey.
- ssalazar 9y agoBy flipside are you suggesting that managing multiple feature sets/behaviors across implementations is a good thing?
- deleted 9y ago[deleted]
- quantummkv 9y agoThis can be the case for big or difficult to implement functionality like async/await. But for smaller functions like isArray, isObject and leftpad this should not be the case. C++ has a lot of different standards, compilers and implementations. There are differences in vc++ and gcc that can prevent compilation without flags or custom implementations. But I am sure that simple functions like printf or strcpy behave same across implementations. Even in Java you have Oracle JVM and android's custom dalvik/ART. But the standard Java functions still work the same. Same with .net/mono.
- deleted 9y ago[deleted]