4 ms·
It is a common misconception that typing makes stuff more complicated and inconvenient. Some type systems are quiet bad (not powerful enough, so they do more ha
by protomikron 10y ago
It is a common misconception that typing makes stuff more complicated and inconvenient. Some type systems are quiet bad (not powerful enough, so they do more harm than good), but that does not mean that the idea of typing itself is bad, but their implementation is. In my opinion Python kicks ass, because of world-class libraries for nearly anything, and not because it's dynamic (a broad term, I would say it's strongly typed) und you do not have to declare types (which can often be inferred).
You listed 4 specific languages, but the following things are each inconvenient in them:
- C: it's inconvenient to implement a quick prototype
- Ocaml: it's inconvenient that the stdlib is so small
- Go: it's inconvenient for scientific/numerical code
- TypeScript: it's inconvenient to run server-side
Obviously you can do everything in any language (Turing, blabla), but the question is, how much effort (time) does it cost.
Python rocks in all of them (edit: the big exception being frontend webdev), in particular for quick prototyping. I think mypy is an exceptional and fine contribution to the eco-system and I really appreciate their effort.
- llekn 10y agoBeing in the middle of a struggle with Javascript tooling (Javascript, ES5 v/s ES6, typescript, webpack v/s System.js, shims, pollyfils, npm downloading the internet, etc, etc) I can't but imagine that there should be a better way. How much I would like Webassembly to be ready to open the gates to other languages on the frontend land. Anyone here has more information about webassembly / python on the browser? I would love to know what is the current state of the art of running python on the browser and contribute to make the dream come true. I have on my radar Brython [0], py.js [1](seems to be abandoned) and pypy.js [2] [0] http://www.brython.info/ http://www.brython.info/ [1] http://pyjs.org/ http://pyjs.org/ [2] http://pypyjs.org/ http://pypyjs.org/
- aumerle 10y agohttps://github.com/kovidgoyal/rapydscript-ng https://github.com/kovidgoyal/rapydscript-ng https://github.com/QQuick/Transcrypt https://github.com/QQuick/Transcrypt
- DanRosenwasser 10y agoWhy exactly is TypeScript inconvenient on the server-side?