Viewing profile — jshxr
jshxr
HN member- Joined
- Fri, Apr 22, 2022, 1:55 PM UTC
- HN karma
- 17
- Public activity
- 4 items
- HN profile
- View on Hacker News ↗
About jshxr
No profile information was provided.
Recent public activity
-
comment
Comment #44672097
Unfortunately, this can be somewhat awkward to implement in certain structural typed languages like TypeScript. I often find myself writing something along the lines of type UserID…
-
comment
Comment #44671965
I've seen it being referred to as "New Type Pattern" or "New Type Idiom" in quite some places. For example in the rust-by-example book [1]. [1] https://doc.rust-lang.org/rust-by-ex…
-
comment
Comment #43945753
Very cool! A few notes: - I really like the level of fine-grained control, even for changes that don't visibly affect the output, like reversing a path. For that case, some visual …
-
story
Ask HN: Why is the source folder called 'src'?
Many languages and frameworks advocate (or even enforce) a standard folder structure that includes a 'src' folder. I always found 'src' to be quite "ugly" and also possibly confusi…