Viewing profile — skn0tt
skn0tt
HN member- Joined
- Tue, May 21, 2019, 10:00 AM UTC
- HN karma
- 114
- Public activity
- 14 items
- HN profile
- View on Hacker News ↗
About skn0tt
Socials: - github.com/skn0tt
---
Recent public activity
-
comment
Comment #30505847
awesome to see a Blitz.js-built app on the front page :)
- story
- story
- story
- story
-
comment
Comment #20776472
Then what do you do about the old version of the mutated object? There will still be references to it in other parts of your object model, which will now be out of date. I think th…
-
comment
Comment #20771320
Similar to the other commenters, I find this comparison to be a bit unfair since TS is not a completely new programming language. Apart from that, Elm is a great language! I've bee…
-
comment
Comment #20771269
When it comes to API responses you don't control, I recommend taking a look at user-defined type guards: https://basarat.gitbooks.io/typescript/content/docs/types/ty... Also, +1 on…
-
comment
Comment #20771235
I see why you're missing an explanation on why classes should be avoided. In fact, your opinion is very similar to mine - I also think that, especially in the context of the FP-inf…
-
comment
Comment #20770995
Correct me if I'm mistaken: I think you can indeed cast from HashMap to Animal and it will happily compile: ```java import java.util.HashMap; class Main { class Animal { String sou…
-
comment
Comment #20770901
That's a very good point! Although I find the example to be rather exaggerated, I see how these types of errors can happen when you're dealing with very complex types. In the post,…
-
comment
Comment #20770817
I'm with you on this. In my opinion, TypeScript can really get in your way when you develop in a way that's not TypeScript-friendly, but you'll benefit heavily once you start devel…
- story
- story