▲ | kentonv 4 days ago | |||||||
Some of the tests are LLM-generated, but none of the library itself is. I don't think LLMs would be capable of writing this library (at least at present). The pieces fit together like a very intricate puzzle. I spent a lot more time thinking about how to do it right, than actually coding. Very different from my workers-oauth-provider library, where it was just implementing a well-known spec with a novel (yet straightforward) API. The code might port nicely to another dynamic language, like Python, but I think you'd have a hard time porting it to a statically-typed language. There's a whole lot of iterating over arbitrary objects without knowing their types. | ||||||||
▲ | krosaen 4 days ago | parent | next [-] | |||||||
Hammock driven development :) | ||||||||
▲ | naasking 4 days ago | parent | prev [-] | |||||||
> There's a whole lot of iterating over arbitrary objects without knowing their types. That's just parametric polymorphism. | ||||||||
|