HackerTrans
TopNewTrendsCommentsPastAskShowJobs

cunthorpe

no profile record

comments

cunthorpe
·5 lat temu·discuss
Who wrote that snippet? Who knows? That’s anonymous. Just because I committed it it doesn’t mean I wrote it. There’s no link to the source, so it’s anonymous, even if committed by me. This is 100% equivalent to copying a whole function from StackOverflow but without placing a link to the answer for context.
cunthorpe
·5 lat temu·discuss
Importing an external, tested, reliable dependency is completely different from anonymous non-checked untested code in your repository committed by someone who did not even read it.

Check out the memoize example. That fails as soon as you pass anything non-primitive but there’s no one documenting that.