Quicktype is a nifty project that generates type definitions from sample JSON examples: https://github.com/quicktype/quicktype
It's often easy to overlook parts of software development that can be automated.
Related Posts
Learning software development through playing and contributing to a MUD: https://tashian.com/articles/how-i-learned-to-program/
A funny side effect of building software in Rust: my machine OOMs much more during development.
I'm not entirely sure why. I think Rust makes it easy to allocate data quickly, and sooner or later you write an infinite loop when coding.
I'm experimenting with syntax in examples. I don't really like Rust's `assert(inc(1) == 2)` syntax, I find it a little distracting.
I'm trying `inc(1) //-> 2`. The comment is rendered differently, and there's nothing before the sample code. What do you think?