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

I use Cursor with Python and it works great. Things you should try:

  * use type hints everywhere.
  * use dataclasses everywhere.
  * add the dataclass files to your prompt.
  * if the produced code is too complex, ask the LLM "Is this the simplest and cleanest way to solve this?"


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

Search: