Re:How I write code using Cursor: A review
by azan_ on Wednesday October 30, 2024 @08:02AM
(#41993952)
Do you have 150000 lines of Swift in YOUR context window?
[ Parent
| on HN ]
Re:How I write code using Cursor: A review
by dep_b on Thursday October 31, 2024 @06:39AM
(#42005404)
I know how to find the context I need, being aided by the IDE and compiler. So yes, my context window contains all of the code in my project, even if it's not instantaneous.
It's not that hard to have an idea of what code is defined where in a project, since compilers have been doing that for over half a century. If I'm injecting protocols and mocks into a unit test, it shouldn't be really hard for a computer to figure out their definitions, unless they don't exist yet and I was not clear they should have been created, which would mean that I'm giving the AI the wrong prompt and the error is on my side.