Eric Elliott

Make some magic. ericelliottjs.com devanywhere.io No DMs. Have an opportunity for me? Contact my agent, @JS_Cheerleader

Categories
N/A
Content Types
N/A
More Information
Location|Languages
Publications
N/A

Published Content

1354
medium.com
Article
I agree it’s an important activity — so fundamental that there is a performant sort ready to use in…
February, 21 2019
medium.com
Article
Yep. I make no apologies for having a strong opinion about the problems with class inheritance, and…
February, 17 2019
medium.com
Article
GraphQL schemas and finite state machines are far more expressive and much lower cost domain…
February, 17 2019
medium.com
Article
Probably not. – Eric Elliott – Medium
February, 16 2019
medium.com
Article
In most JS implementations, I believe Quick sort is built into `Array.prototype.sort()`,
February, 16 2019
medium.com
Article
Tern.js does that quite well, and TypeScript can also provide that benefit on standard JavaScript…
February, 12 2019
medium.com
Article
I’ve updated the article. – Eric Elliott – Medium
February, 12 2019
medium.com
Article
I’m speaking more about higher-kinded types and generics employing parametric polymorphism here.
February, 10 2019
medium.com
Article
Functions can create lexical scopes without curly braces.
February, 10 2019
medium.com
Article
Yep. I’ve experimented with that approach, myself. – Eric Elliott – Medium
February, 10 2019
medium.com
Article
Unit tests shouldn’t be type checks — they should check specific values, instead, making them much…
February, 10 2019
medium.com
Article
Keep in mind, I’m comparing with JSDoc, which blows TypeScript away when it comes to expressing…
February, 10 2019
medium.com
Article
This reply makes me think you didn’t read the article.
February, 10 2019
medium.com
Article
Yes, the same way you would write them in d.ts – Eric Elliott – Medium
February, 10 2019
medium.com
Article
5.4 + 13.7 = 19.1 – Eric Elliott – Medium
February, 10 2019
medium.com
Article
Because of the improved expressiveness and range of errors they can catch, good test suites do this…
February, 10 2019
medium.com
Article
“As stated in this post, it compares Typescript alone as a language with Javascript as a language +…
February, 9 2019
medium.com
Article
Schema validation checks runtime-supplied inputs against a schema (which can use the full…
February, 6 2019
medium.com
Article
Yes. – Eric Elliott – Medium
February, 1 2019
medium.com
Article
Yep. You’re on the right track. – Eric Elliott – Medium
February, 1 2019
medium.com
Article
I find TypeScript’s expressiveness woefully inadquate to model domains in the way you describe.
February, 1 2019
medium.com
Article
No. Please read the original article. – Eric Elliott – Medium
January, 31 2019
medium.com
Article
Thanks for the comment, Ben. – Eric Elliott – Medium
January, 31 2019
medium.com
Article
I don’t really see either as an alternative to TypeScript, but using Maybes or Eithers can…
January, 30 2019
medium.com
Article
The benefit is you return something that doesn’t do the I/O directly.
January, 30 2019
medium.com
Article
Hi Ivan, the point is that you can test the functions that use it with unit tests.
January, 30 2019
medium.com
Article
The temporary nature of the startup/onboarding costs is already accounted for in the article, but…
January, 29 2019
medium.com
Article
Not sure I understand the question. – Eric Elliott – Medium
January, 29 2019
medium.com
Article
I have experimented on a smaller scale with adding separate typings in a d.ts
January, 29 2019
medium.com
Article
Some good thoughts. – Eric Elliott – Medium
January, 29 2019
medium.com
Article
I couldn’t even make sense of that one. – Eric Elliott – Medium
January, 28 2019
medium.com
Article
Unit tests check values, as opposed to types. – Eric Elliott – Medium
January, 28 2019
medium.com
Article
The original comment didn’t include any points worth addressing.
January, 28 2019
medium.com
Article
A lot of the operations which are generic in most FP libraries appear only to work with arrays in…
January, 28 2019
medium.com
Article
Corrected as soon as I learned about it. – Eric Elliott – Medium
January, 27 2019
medium.com
Article
You would have a very good point, except that I have type inference and lint doing a job very…
January, 27 2019
medium.com
Article
JSDoc allows you to write human-readable descriptions of the API’s behavior, and each expected…
January, 27 2019
medium.com
Article
Good point. – Eric Elliott – Medium
January, 27 2019
medium.com
Article
I have updated that section to clarify the math. – Eric Elliott – Medium
January, 26 2019
medium.com
Article
Usually not that long. – Eric Elliott – Medium
January, 26 2019
medium.com
Article
Not overlooked. – Eric Elliott – Medium
January, 26 2019
medium.com
Article
That’s not an accurate description of the analysis.
January, 26 2019
medium.com
Article
Yep, I agree. – Eric Elliott – Medium
January, 25 2019
medium.com
Article
Domain modeling with types is a common approach in languages like F# and Haskell, but I find…
January, 25 2019
medium.com
Article
Lots of teams get real benefits from TypeScript. – Eric Elliott – Medium
January, 25 2019
medium.com
Article
I have a strong feeling you may be right. – Eric Elliott – Medium
January, 25 2019
medium.com
Article
Unless I’m learning a new API, I spend very little time doing this.
January, 25 2019
medium.com
Article
That sounds like a different question: interfaces vs state shapes, and it’s answered in the…
January, 25 2019
medium.com
Article
I don’t use unit tests to test types whether using TypeScript or not, because if you pass or return…
January, 24 2019
medium.com
Article
Please carefully re-read the entire section on bug prevention.
January, 24 2019
Authorship Stats
4Sites1,354Projects258,625Words
About
Eric Elliott is a writer who has produced content for sitepoint.com, blog.po.et, and learn-javascript.cleeng.com
Key Phrases
Eric Elliott, Functional Programming, Javascript Scene, Class Inheritance, Object Composition, Bitcoin Mining, Po Et Blog, Unit Tests, Alan Kay, Progress Report
© ClearVoice, Inc.