3 ms·
In my opinion Angular's story is a story of how people invent problems and then valiantly tackle them. - We want to re-write the whole thing from scratch. In T
by dmitriid 7y ago
In my opinion Angular's story is a story of how people invent problems and then valiantly tackle them.
- We want to re-write the whole thing from scratch. In TypeScript.
- And let's use Google's Closure Compiler for JavaScript. Even though it doesn't support TypeScript, modules, or anything, really from non-Google Javascript world (at the time)
- Oh. Then... Let's create a TypeScript to Closure Translator even though TypeScript doesn't let you extend the compiler and TypeScript and Closure are in general not entirely compatible
- Oh, and we use a weird combination of annotations and templates to work, so... we need to compile our templates into TypeScript (which we need to translate to Closure-compatible JavaScript which will then be compiled further down)
- Only the whole process is abysmally slow. Let's implement incremental compilation.
- It's probably still slow, complicated, and error-prone. We know! Let's use Google's Bazel! You know, the tool to build huge codebases in parallel on clusters. Yeah, why not use that to build JS code?
- Only bazel has no support for either Closure, or Javascript, or TypeScript, so we have to build tools and integrations to work with bazel!
And the quests just keep popping up.
- equasar 7y agoWhat's the point you are trying to achieve with that negativity? Writing non existing tooling around some tools is almost positive as they can pave the journey to other and better tooling. Also, I doubt you are paying a cent to those developers to justify your complaints about it.
- dmitriid 7y ago> What's the point you are trying to achieve with that negativity? Not trying to achieve anything. It’s my own personal opinion on how I view Angular’s development. The devs dig deeper and deeper holes to bravely climb out of them. > Writing non existing tooling around some tools is almost positive Since there’s no cost-benefit analysis, “almost positive” is entirely speculation. > I doubt you are paying a cent to those developers to justify your complaints about it. “Only paying customers are allowed to voice criticism. Please purchase a criticism package or a yearly subscription today. Volume discounts are available, contact your nearest sales representative”