sabine π«π¦ / 'use ocaml';
@sabine_s_
Followers
5K
Following
99K
Media
1K
Statuses
27K
show me OCaml | an https://t.co/8e1icJBB76 maintainer | RFC 3339 dating coach | maybe not a sith lord | former overqualified seΓ±or meme developer | 5β¬ VPS kid
in Raven's Progressive Matrix
Joined April 2014
I like working with smart people who have empathy. Empathy for the people who care about shipping a cool thing for people to use. Empathy for those who have to maintain the codebase after they're gone. Empathy for those who have to use the tools they build. And that means.
> Smart people often write the worst code because they're more comfortable with complexity. And this is so annoying. They have an impenetrable defense strategy: it's not their problem, it's your problem that you are dumb. You're the bad engineer here no matter what.
13
31
180
Btw someone nice from @JaneStreetGroup sent me this after I mentioned that I think it looks so cool π₯π«π₯Ή. I like to look at this
9
6
145
just an average day of @thdxr telling you to get better
to build an extremely high quality app you have no choice but to be good at writing client side js regardless of what your backend is in. itβs the main reason why people obsessed with hating on js cannot ship quality.
3
2
95
βοΈ working remotely full-time in open source writing OCaml π«.βοΈ reworking the package documentation area and various improvements on βοΈ figuring out how to create reasonable issues for external contributors and working with them via feedback in pull.
BRAG ABOUT SOMETHING YOUβRE PROUD OF ACCOMPLISHING IN 2023 β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨β¨.
3
2
66
Hindley-Milner type systems don't suffer this issue. Glad we have variant types to pattern match on in OCaml. π₯Ή.
This is a common mistake. Type predicates (like 'pet is Fish' below) are no safer than 'as'. You could say 'pet is Bird' and TypeScript wouldn't catch the difference. I've started using them less in my code.
7
4
68
Yup, anyone who isn't sure about OCaml syntax. do try Reason, it could feel more familiar depending on what languages you've used.
@oriSomething @sabine_s_ Yeah, I was kind of ignoring the whole Clojure/elm/rescript area :) I'm more curious about having a "real language", so this idea that Reason is just a different syntax for OCaml sounds more attractive :).
4
5
71
I didn't expect anything when I submitted my proposal, and I only checked my other email today to be surprised by this!. Here we go. π₯π₯π₯. I'll be speaking at @BOBKonf 2024 in Berlin, March 15 on. End-to-end Type-Safety with Your Own API Spec DSL. I am positively terrified
15
1
65
@abookofsymbols it gets really freaky when you notice this happen inside yourself, reacting more favorably to people who are hotter (in looks or behavior). clearly it makes sense to treat everyone well, no matter what they look or their struggles, and to make decisions not based on attraction.
2
3
68
you know, when I thought of myself as very smart and placed intelligence as the highest value, this had some interesting consequences:. - I worked hard in order to maintain the public perception of my intelligence.- being criticized hurt a lot bc it challenged my self-concept and.
ok so taking this test made me think about how much of my identity is actually based on the idea of "being intelligent" and how tremendously that affected my life so far (in good ways and bad ways). context: I did my first IQ test at 7yo after vocally complaining in the first.
4
5
68
Elm is really awesome bc it's intentionally simpler than Haskell or OCaml or F# and it has a friendly community and a very focused ecosystem. it does make a great starter language to get into FP before moving on to a more powerful language!.
@welltypedwitch Super fair. I think in the event that I do go with OCaml, I would probably teach them Reason syntax just bc it feels a bit simpler. But in my mind Elm is like Haskell-mini which feels ideal if the goal is to prepare them to eventually move on to Haskell or OCaml.
5
9
64
@leostera I just think that taking any extreme position (e.g. believing in some kind of silver bullet) puts people in a mindspace that prevents them from seeing simpler solutions.
3
4
61