← Back to context

Comment by petetnt

6 months ago

There’s always a distinct lack of the names in the posts like this. What was the library that was being changed to what? You say it had ”no good documentation”, but it clearly has some sort of documentation considering the LLM did such a good job on the rewrite. Do you understand the ”large library” now?

You are right. I always wish for more specifics too when we talk about code here.

The library was https://mediabunny.dev/

Before I used my own proprietary code for media encoding/decoding. I also tested a WASM port of ffmpeg for a while.

Mediabunny's documentation might be fine for some developers, but personally I prefer a reference where I have a list of all functions and their specifications.

Yes, I understand the library much better now.

  • Personally looking at the documentation I would say that "no good documentation" is highly misleading, because the documentation that it provides is incredibly detailed from quick starts to detailed explanations, offers a lot of examples and has very high quality typings with inline documentation. Not to mention the code itself is documented thoroughly. Sure it doesn't have an API reference, but you get that from the typings, that what I usually do - just check the imports first and go from there.

Yeah so uhhh it helped me rewrite python 3.7 to 3.12

That LLM sure was a great help adding some f-strings here and there, real life saver.