Everyone should have an engineering notebook. A lot of people will find out the hard way that engineering notebooks are just table stakes in the new era.
Having said that, it's important to point out, at least as far as attorneys have advised me, that notebooks do not protect you from copyright claims if an LLM generates a section of your code that is a verbatim (or near verbatim) copy of already copyrighted code. So if you're using llm's to generate something similar to some open source project somewhere, tread lightly. I assume using llm's to generate something similar to some proprietary software package would be less of an issue since the llm would never have had access to that software's codebase in any case.
I suppose generating the same functionality with a different programming language than the original would make it very unlikely to accidentally duplicate existing code.
Who broke the copyright though? Me who unknowingly copied some code from a webpage that gave me permission to do so, or the webpage that stole it from somebody else?
I guess both?
In this case, the "webpage" is some frontier AI compnay and a trillion dollars of investor money or whatever, so I guess they won't be held responsible, but I might, even though I'm arguably guilty of a far lesser crime.