Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
homami
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
Ask HN: Small sample size user testing fallacy
3 points
by
homami
8y ago
|
3 comments
32.
▲
by
homami
9y ago
>With modern tech you can communicate with people all over the world without traveling Internet used to be a tool that enabled people all over the world to communicate. I wouldn't have spoken a word in English if it wasn't for
33.
▲
by
homami
10y ago
Do you have any particular use-case in mind for arrows in JS?
34.
▲
by
homami
10y ago
Your observation that categories are used in FRP is correct. Haskell's Yampa is built on top of Arrows that is an extension of categories: https://wiki.haskell.org/Yampa
35.
▲
by
homami
10y ago
That's true. await sequence actions much like do notation.
36.
▲
by
homami
10y ago
I'd love to know which runtimes do you have to support which don't support ES6 if you don't mind? I imagine you're dealing with old browsers.
37.
▲
by
homami
10y ago
Using class enables us to chain instances naturally in JS syntax, especially because JS lacks infix functions or custom operators. o1.then(f).then(g).run(cb)
38.
▲
by
homami
10y ago
That's very true. But on the other hand dynamic typing is what enables us to play with JavaScript and re-create many concepts from FP in plain JS. This is not easy in many strongly typed languages which their type system falls short of
39.
▲
by
homami
10y ago
We have to handle errors at least one time during the operation. Both Promise and Callback classes propagate error in the computation and delay error handling till the last step (usage). I agree that bindTo is not much different from then,
40.
▲
by
homami
13y ago
We can think the state of the world is immutable. When the state changes, it's a different world. If space-time is discontinuous, then we can think any change of state, like motion, as a set of discrete changes. If we think the motion