Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dariusj18
on July 1, 2021
|
parent
|
context
|
favorite
| on:
Don't encode POST bodies like GitHub Copilot, use ...
I'm not sure I've ever copied code from StackOverflow, though I do use it for inspiration.
BiteCode_dev
on July 1, 2021
[–]
Not even a command line ?
dariusj18
on July 1, 2021
|
parent
|
next
[–]
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.
_w5fr
on July 1, 2021
|
root
|
parent
|
next
[–]
What if you now understand what it's doing (jogged your memory) and its a long command?
marcosdumay
on July 1, 2021
|
root
|
parent
|
next
[–]
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.
dariusj18
on July 1, 2021
|
root
|
parent
|
prev
|
next
[–]
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.
BiteCode_dev
on July 1, 2021
|
root
|
parent
|
prev
|
next
[–]
why would you not understand it ? it seems unrelated.
corobo
on July 1, 2021
|
parent
|
prev
[–]
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: