Skip to content

Instantly share code, notes, and snippets.

David Valdman dmvaldman

View GitHub Profile
@dmvaldman
dmvaldman / promisesEM.md
Last active Jul 19, 2020
Promises as EventEmitters
View promisesEM.md

Promises as EventEmitters

I was trying to understand JavaScript Promises by using various libraries (bluebird, when, Q) and other async approaches.

I read the spec, some blog posts, and looked through some code. I learned how to

View keybase.md

Keybase proof

I hereby claim:

  • I am dmvaldman on github.
  • I am dmvaldman (https://keybase.io/dmvaldman) on keybase.
  • I have a public key whose fingerprint is CE17 F140 B122 57E0 919E FE50 7AF7 BE80 F4D6 1202

To claim this, I am signing this object:

@dmvaldman
dmvaldman / FRPandPhilosophy.md
Last active Apr 10, 2020
Descartes, Berkeley and Functional Reactive Programming
View FRPandPhilosophy.md

Descartes, Berkeley and Functional Reactive Programming

By @dmvaldman

Functional Reactive Programming (FRP) is generating buzz as an alternative to Object Oriented Programming (OOP) for certain use cases. However, an internet search quickly leads a curious and optimistic reader into the rabbit-hole of monads, functors, and other technical jargon. I’ve since emerged from this dark and lonely place with the realization that these words are mere implementation details, and that the core concepts are far more universal. In fact, the groundwork was laid down many centuries before the first computer, and has more to do with interpretations of reality, than structuring programs. Allow me to explain.

There’s an old thought experiment that goes like this:

Tree

You can’t perform that action at this time.