You can write Typescript like Java. You can also write it (almost) like Clojure. It's really very flexible, but without most of the insanity that flexibility causes in normal JS.
I didn't say it could match it. I don't think it can, but you can write it very concisely if you choose to.
There's not a big difference in concisesness or readability between Clojure threading macros and JS promise chaining, for example:
(-> (do x)
then-do-y
then-do-z
then-do-q)
vs
doX()
.then(doY)
.then(doZ)
.then(doQ);
Of course, the Clojure version is more flexible, and the ability to define DSLs very simply allows for further conciseness, but that's all beside the point. My point is just that Typescript can be written very concisely or very verbosely, depending on your own coding style.
This looks awesome, going to check it out this weekend!
FYI in a narrow (especially < ~1000px) the Features icons are overlapping content. I tried changing the class 'fa-4x' to 'fa-2x' on those icons and it appears to fix the issue.
WTF. The project seems completely useless and gimmicky to me.
My problem is that I read a LOT of articles and publications. If I started highlighting things in articles, I would never have enough time to go back to them. Besides, why would I want to? I already read it, which means that it's already in my mind! What's the point of reading stuff if not to put information inside your mind? I'd rather use my time to read more new stuff than to revisit things I already know.
Maybe the solution is not more tools, it's just to stick to topics that interest you and to pay attention and put more thought into what you're reading.
maybe you should be a little less critical about someone who actually built something extremely useful and spend some time investigating the topic of "incremental reading" -- reading info and retaining info are two different things
>> reading info and retaining info are two different things
I apologize, I projected my own experience and assumed that other people were able to remember the main points of what they read. I guess most people don't have have great memory. I never thought of myself has having good memory but I remember the main points of most of what I read.
Oh my god, getpolarized is exactly what I am currently trying to achieve. I tried out PDF.js to get highlighting and reading progress in my application but could never figure it out. This is amazing!!
I spent the last 90 days porting about 350k lines of code to Typescript plus implementing another 400k.
https://getpolarized.io/
It's basically a document and annotation manager for PDF and notes. Kind of an Open Source Mendeley/Evernote/Github if you will.
This code base is changing often and I really hit a dead in in terms of JS scalability.
I was just refactoring too much, breaking things, etc.
Now I can just rely on the compiler when I break things.
If I want to change a function type in TS it's no problem.
In JS it's a nightmare.