Better HN
topnewbestaskshowjobs
Log inSign up

jfet97

57 karma · joined Jun 10, 2018 (8y ago) · 36 submissions

Submissions

1.

How to Express Correlations in TypeScript(andreasimonecosta.dev ↗)

3 points · by jfet97 · 2y ago · discuss

comment 5y ago · link · parent

Thanks for sharing!

3.

Haskell-Like List Comprehension in JavaScript(github.com ↗)

3 points · by jfet97 · 6y ago · discuss

4.

Asynchronous Generators and the Unix-like async piping pattern(dev.to ↗)

2 points · by jfet97 · 7y ago · discuss

5.

JavaScript Iterators and Generators: Asynchronous Iterators(dev.to ↗)

4 points · by jfet97 · 7y ago · discuss

6.

In-Depth Overview of Synchronous Generators [JS](dev.to ↗)

2 points · by jfet97 · 7y ago · discuss

7.

Making Web-Workers Async Iterables(github.com ↗)

49 points · by jfet97 · 7y ago · 4 comments

8.

JavaScript Iterators and Generators: Synchronous Iterators(dev.to ↗)

2 points · by jfet97 · 7y ago · discuss

9.

Resuming the flow into a failed try block computation without algebraic effects(dev.to ↗)

1 points · by jfet97 · 7y ago · discuss

10.

Reactive Primitives (and Other Cool Stuff) in JavaScript with OxJS(github.com ↗)

1 points · by jfet97 · 7y ago · discuss

11.

Example of the Object.fromEntries new entry to flatten nested objects props(gist.github.com ↗)

2 points · by jfet97 · 7y ago · discuss

12.

Telegram bot API (JS): manage a flow of actions that have to be executed in row(github.com ↗)

2 points · by jfet97 · 7y ago · discuss

13.

The shortest way to conditional insert properties into an object literal(dev.to ↗)

1 points · by jfet97 · 7y ago · discuss

14.

Customize Objects Coercion in JavaScript(dev.to ↗)

1 points · by jfet97 · 7y ago · discuss

15.

Communicating Sequential Processes in JavaScript: WIP New Library(jfet97.github.io ↗)

2 points · by jfet97 · 7y ago · discuss

16.

Asynchronous ForEach in JavaScript(github.com ↗)

3 points · by jfet97 · 7y ago · discuss

comment 7y ago · link · parent

Lot of stuff, as you can see in the docs. JSON.parse/stringify does not call the constructors for example

comment 7y ago · link · parent

I've really appreciated your comment :D

comment 7y ago · link · parent

Yes but with persistent data structures each operation implies a cost, more or less big. For example most of times you do something with an persistent array you end up with fully cloning it. What's the point? I know the advantages of immutability, but I think that perform impure operations into pure functions, in a safe contest, is not so bad. My function can help with this...we could perform those faster impure operations (modifiyng local objects and arrays) and then create full, deeply cloned entities to pass around.

comment 7y ago · link · parent

hoping that my funtion can help you :)

comment 7y ago · link · parent

thanks :)

comment 7y ago · link · parent

No I've built it on my own. I only know that popular libraries as lodash don't call constructors, so I think there is no way to mantain a proper [[Prototype]] nor the constructor props. IDK how other libraries do to handle circ references nor if them allow to copy non-enums props and getters&setters.

comment 7y ago · link · parent

Yes, an isomorphic js program is a program that can run both in browsers and nodejs. I know that is not mathematically correct, but lot of devs use this word and understand its meaning.

24.

Show HN: An isomorphic, configurable JavaScript utility for object deep cloning(github.com ↗)

26 points · by jfet97 · 7y ago · 39 comments

25.

Faster than transform streams (maybe) – Node v10/11(github.com ↗)

1 points · by jfet97 · 7y ago · discuss

26.

Interesting newborn project for monitoring the latest JavaScript trendy projects(esjsnews.com ↗)

1 points · by jfet97 · 8y ago · discuss

12