Finding a better, simpler approach with less code required is a wonderful feeling.
miniblog.
Related Posts
There seem to be three ways to get a fix or feature added to an OSS project:
1: Contribute enthusiasm and camaraderie
2: Contribute and discuss patches
3: Contribute money
The amount required of each hugely depends on the work required.
I suspect the ratio of commit message characters to changed code characters is directly proportional to the debugging effort required.
TypeScript has a really neat way of changing the required-ness of fields in objects.
Partial<Foo> is the same shape as Foo, but all the fields are optional. Required<Foo> is the same shape as foo but all the fields are required.