@osnews Hard to argue with the rationale there… I think @mgorny hits the nail fair on the head here.
The same can be true in some cases with StackOverflow and similar online forums… yeah, okay for inspiration, but do your homework, don't use a piece of code you don't understand… you should really vet it and understand how it works.
I've been known to use the odd one-liner or two from SO, but only if I can understand what the code is doing… and only very small pieces of code (often one-liners).
Generative AI really is akin to taking a waltz through the minefield. Only a matter of time before it takes your leg.