Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm not sure I've ever copied code from StackOverflow, though I do use it for inspiration.


Not even a command line ?


Oh no, definitely not. If I don't understand what it is doing then I don't put in in my command line. That's a recipe for disaster.


What if you now understand what it's doing (jogged your memory) and its a long command?


Then you take the lessons you need from the line and encode them in a properly formatted script.

A long command is almost never a good answer.


Very rarely does a command line example map one to one with what I want to accomplish anyway. But also, I can't think of any "long" commands that I would need.


why would you not understand it ? it seems unrelated.


Type it out anyway, copy paste security risks or not, it helps you remember how to do it in future




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: