Email or username:

Password:

Forgot your password?
2 posts total
Show previous comments
Naman

@keithamus > I don't have the time left in my career to waste learning pseudo-functional paradigms when I could instead pick up actual functional languages like Haskell or Elixir.

React hooks are modelled after Algebraic Effects, not Monads etc from Haskell / Elixir. It’s more niche.

React may or may not be the right way to learn these concepts, but the article is amazing:

overreacted.io/algebraic-effec

(Note: I think generator functions *are* algebraic effects in JS)

@keithamus > I don't have the time left in my career to waste learning pseudo-functional paradigms when I could instead pick up actual functional languages like Haskell or Elixir.

React hooks are modelled after Algebraic Effects, not Monads etc from Haskell / Elixir. It’s more niche.

React may or may not be the right way to learn these concepts, but the article is amazing:

Naman

@keithamus What issues are you seeing using dialogs and popovers in React?

James Scholes

@keithamus I'm gonna need to get "global state in a functional trench coat" on a T-shirt. Maybe kick off a series of similar slogans equating disguised global state in other tech stacks with appropriate garments.

keithamus

Just open sourced i-html, a modestly sized web component which allows dynamically importing of html fragments inline. It enables some surprisingly nice patterns. keithcirkel.co.uk/i-html/

Zarin Loosli

@keithamus this is amazing and should be part of the spec

Go Up