Vitor
vitorsalmeida.com
Vitor
@vitorsalmeida.com
Developer.
Still learning how to think better.
Reposted by Vitor
The cover for my book on how debuggers work is here!

Preorders are still 25% off: nostarch.com/building-a-d...
December 14, 2024 at 12:05 AM
Reposted by Vitor
how it started how its going
December 11, 2024 at 8:37 PM
Reposted by Vitor
It's not common practice but I think mostly for historical reasons. Now that we have (include_subdirs qualified), you should be able to do it easily. See dune.readthedocs.io/en/stable/re...
include_subdirs - Dune documentationContentsMenuExpandLight modeDark modeAuto light/dark, in light modeAuto light/dark, in dark mode
dune.readthedocs.io
December 10, 2024 at 6:49 PM
How common is it to create multiple folders in /lib coding OCaml?

I'm asking because defining a new dune file for each new folder is annoying, and I don't know if it is annoying because it's an anti-pattern or if it just sucks
December 10, 2024 at 5:25 PM
Ok I really liked ADTs
It's just easier to understand what is happening compared with my past Go implementation
December 5, 2024 at 4:17 PM
Reposted by Vitor
My article “8 months of OCaml after 8 years of Haskell in production” is by far my most successful.

It’s interesting to ponder why, but I had pretty good expectations from the start myself.

chshersh.com/blog/2023-12...
December 5, 2024 at 7:50 AM
I'm usually not a big transition fan, but I liked it
December 5, 2024 at 12:14 AM
Reposted by Vitor
Working on AOC 1, on Teika, the parsing took me some time, I still need to write the sort.

Doing things without a stdlib and infix operators is a pain. But it's been interesting.

But, I need to connect the typer, doing it without type checking is a massive pain.
December 3, 2024 at 4:02 AM
Reposted by Vitor
Gleam v1.6.3 is out now, with a fix for compiling on older versions of Erlang/OTP
github.com/gleam-lang/g...
Release v1.6.3 · gleam-lang/gleam
github.com
December 3, 2024 at 4:51 PM
I just completed "Historian Hysteria" - Day 1 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/1
December 1, 2024 at 11:11 PM
Reposted by Vitor
okay, setting up my project...

(day1 is already like, really hard for this sort of thing so not sure how much i'm going to be able to do this time ^^)
December 1, 2024 at 10:29 PM