Mixed
ChatGPT told me that I wanted `strtok`. So I tried that but then the compiler complained that it was banned (via a macro)
chrishill89 on Hacker News
In the thread “Go(lang): Robust generic functions on slices”, replying to this comment
Helped: Found a suitable library in the commit log after initial suggestion failed.
Got in the way: ChatGPT suggested a function that was banned by a macro.
… I was not feeling good that it had come to this point since I'm not a C programmer. ChatGPT told me that I wanted `strtok`. So I tried that but then the compiler complained that it was banned (via a macro).[1] Looking at the commit log I found out that `string_list.h` in the project was something that I could use. …