This might be a joke but everybody does it manually for real. Whenever I copy-paste some tricky function from SO I like to add a code comment with the url pointing to the stackoverflow.com answer. This allows future maintainers to refer back to SO and see if a better answer has surfaced or read comments about any issues.
I never, ever copy paste code, unless it's really long. I always end up rewriting everything myself, so I have the time to think about what's happening.
StackOverflow Importer – Import code from Stack Overflow as Python modules
71–80 of 87 posts
Re: StackOverflow Importer – Import code from Stack Overflow as Python modules
#72Stackoverflow-driven development (SDD): https://goo.gl/images/xXCZrx
Re: StackOverflow Importer – Import code from Stack Overflow as Python modules
#73Earlier quoted context omitted.
What if, somehow, there was a guarantee that the code can't harm your machine -- would you use it then? This isn't a joke.
It's not just about harming your machine - it can harm your* data, or data passing through your* system! * Where "your" can mean you, your employer, your customer, another company, etc.
What if it can't harm anything.
Re: StackOverflow Importer – Import code from Stack Overflow as Python modules
#74Re: StackOverflow Importer – Import code from Stack Overflow as Python modules
#75Re: StackOverflow Importer – Import code from Stack Overflow as Python modules
#76Re: StackOverflow Importer – Import code from Stack Overflow as Python modules
#77Re: StackOverflow Importer – Import code from Stack Overflow as Python modules
#78Earlier quoted context omitted.
It's not just about harming your machine - it can harm your* data, or data passing through your* system! * Where "your" can mean you, your employer, your customer, another company, etc.
What if it can't harm your data, or data passing through your system ? What if it can't harm anything.
Re: StackOverflow Importer – Import code from Stack Overflow as Python modules
#79This might be a joke but everybody does it manually for real. Whenever I copy-paste some tricky function from SO I like to add a code comment with the url pointing to the stackoverflow.com answer. This allows future maintainers to refer back to SO and see if a better answer has surfaced or read comments about any issues.
I've been programming professionally for much longer than there's been a stack overflow. I have never, ever, cut and pasted code from stack overflow.
Re: StackOverflow Importer – Import code from Stack Overflow as Python modules
#80because executing arbitrary unknown code is always a good idea