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

> For example, how to get the length of an iterable in a given language. I may not remember the function name (or if it's a top-level function vs a method) but I know I can search "string length in $LANGUAGE" and find it.

This is actually a really good example of something I've started using GPT-3 or GitHub Copilot for.

If I'm in a Rust program and I don't know Rust, I can type

# set a to the length of the items array

And Copilot or the GPT-3 Playground (if I don't have Copilot handy) will write the next line of code for me, without me having to go and look up how to do length-of-array.



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

Search: