4 ms·
Coding. Best example was an obnoxious 3rd party C++ API with header, and sample code that was more confusing than helpful. I fed the header and sample code to c
by fsloth 4y ago
Coding. Best example was an obnoxious 3rd party C++ API with header, and sample code that was more confusing than helpful. I fed the header and sample code to chat-gpt (was not too many lines) and then asked it to write a sample application that did X using the API. It almost worked, and needed a bit tweaking, but removed so much of the effort of trying to parse hundreds of lines of pseudo-gibberish to get to the few API calls I needed. I'm not going to name the API here. You know such things exist, and sometimes for good historical reasons.