Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Hammock driven development :)

https://www.youtube.com/watch?v=f84n5oFoZBc


> There's a whole lot of iterating over arbitrary objects without knowing their types.

That's just parametric polymorphism.


> just parametric polymorphism

Those three words are doing a lot of work there.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: