Viewing profile — boubiyeah
boubiyeah
HN member- Joined
- Mon, Feb 18, 2013, 2:49 PM UTC
- HN karma
- 717
- Public activity
- 280 items
- HN profile
- View on Hacker News ↗
About boubiyeah
No profile information was provided.
Recent public activity
-
comment
Comment #29428889
I understand all the hook rules and all the gotchas around stale closures. But I don't want to have to deal with those as part of my everyday, regular programming, it's just stupid…
-
comment
Comment #22908217
It's just an implementation detail.
-
comment
Comment #22833253
I just can't take the irony of the Elm leadership trying to come across as inclusive.
-
comment
Comment #20307392
I must have some very womanly traits then. When I first joined my engineering school, I felt so bad/inadequate because all the guys were like "yeah this is easy, I totally got this…
-
comment
Comment #20251471
But that's the simplest union type. You could have: type Result = {type: 'ok', value: string} | {type: 'err', value: string}
-
comment
Comment #20249009
It was! The new result just isn't all that much better. They got trapped in their own bubble of complexity.
-
comment
Comment #20248996
Not sure why Evan is not being more transparent regarding this renaming. It would be easy to just say "yes, I got a bit carried away with the naming and my big future plans, but th…
-
comment
Comment #20227994
Yes it's terrible naming. The more abstract the naming, the harder it is to reason about. Plus, JS/TS already have proper union types without a need for a construct like Either. A …
-
comment
Comment #20045781
They work best if your team has low standards and just settle with whatever the framework has choosen for you. I'm not surprised it's fine for many.
-
comment
Comment #19904162
Wasn't event baited
-
comment
Comment #19751010
Trump is 1% of the U.S.A problems. He's more or less just a dumb symptom.
-
comment
Comment #19642374
No more reason now than 2 years ago.
-
comment
Comment #19642361
No matter the underlying technology, "lightweight, truly reusable UI components" is almost an ideologic dream, at the web scale. (some companies might achieve it on their own scale…
-
comment
Comment #19006016
type IJustWantToExperiment = any You could use the allowJs typescript flag and mostly use JS files at first; perhaps only typing a few models.
-
comment
Comment #18834599
There's a big difference though: persistent data structure libs are heavy to send over the network. What we need is immutable data structures in the platform.
-
comment
Comment #18823442
This entire blog post is well written garbage. There is no content.
-
comment
Comment #18706831
That header animation was cool only the first 50 times I saw it
-
comment
Comment #18513813
I agree with the general sentiment. The difference is even more pronounced once you start typing your code. TS/TSX = 100% typed arbitrary template DSL = 0% typed and now these stri…
-
comment
Comment #18513794
what if it being more productive for you has nothing to do with these magic strings? :)
-
comment
Comment #18307135
Of course it's unintuitive. I see dev veterans make the mistake all the time. JS was so poorly designed. An implicit (not passed as an arg), dynamic this parameter. You couldn't be…
-
comment
Comment #18304318
react is not based on logicless templates. Their very first presentation in 2012 or 2013 made that clear. It's a feature.
-
comment
Comment #18304277
But managing state is quite hard in general. Angular proudly advertises it solves all problems you can have on the frontend but I would take react state + utils over angular's magi…
-
comment
Comment #18304205
React was never a view-only library. Pete Hunt always said he saw React components as mini MVC modules. it's even less true nowadays with features like Context or suspense to suppl…
-
comment
Comment #18247466
Man, this argument is so dumb indeed... Even dumber than the "Hey, why should we care about the environment since a few countries can decide not to"
-
comment
Comment #18160454
Really like typescript. You could code an algorithm with very dynamic types then expose its API with very rigorous typing (TS's type system can go pretty advanced)