4 ms·
I don’t copy and paste code from stackoverflow anymore. When I was a beginner I used to but now because of the complexity of things I work on the snippets don’t
by faizshah 5y ago
I don’t copy and paste code from stackoverflow anymore. When I was a beginner I used to but now because of the complexity of things I work on the snippets don’t work as is and I just look at stackoverflow to find an approach and then look at the documentation to apply it to my problem.
The one I am guilty for copying and pasting is command line stuff. I know its dangerous and I try not to paste it directly into the terminal but some of the commands are so complicated and backspacing in the shell is annoying its just easier to copy and paste.
- mrelectric 5y agoUse address bar as temporary editor / buffer. Ctrl-C, Ctrl-L, Ctrl-V, ctrl-left or ctrl-right to edit/confirm correctness, then ctrl a and ctl c
- lhuser123 5y agoCool
- Cyphase 5y agoI'm glad I'm not the only person who uses the address bar as a temporary editor.
- YPPH 5y agoI use it to clear formatting before pasting into rich text editors like Word or Outlook. Wonder if I'm the only one.
- addandsubtract 5y agoI do the same, unless it contains sensitive data that I don't want to leak to Google. Then I just use Sublime. I wish ctrl+shift+v was more common to paste without formatting.
- mrelectric 5y agoSame hehe
- jiggawatts 5y agoThat's a dangerous habit to get into. Everything you type in the address bar is sent to Google (or your default search engine). If you "edit" to replace placeholders with credentials, you've just sent those credentials to Google. This happens live, character-for-character, you don't need to press enter.
- rickeydidio 5y agoI share this sentiment minus the complexity part. I usually have documentation up as well and am looking to see what fits with what I envisioned beforehand. It was surprising to see Pandas listed multiple times in top 10 tags since I feel like the documentation is pretty straight forward.