logoalt Hacker News

miki123211yesterday at 9:10 AM1 replyview on HN

I just append "explain", or start with "tell me."

So instead of:

"Why is foo str|None and not str"

I'd do:

"tell me why foo is str|None and not str"

or

"Why is foo str|None and not str, explain"

Which is usually good enough.

If you're asking this kind of question, the answer probably deserves to be a code comment.


Replies

orpheayesterday at 12:04 PM

  > the answer probably deserves to be a code comment.
No..? As others mentioned, somehow Codex is "smart" enough to tell questions and requests apart.