3 ms·
Im so confused on what vibe coding is. Is it: - just pressing tab and letting copilot code whatever? - asking an llm to do everything that it can and falling
by nonethewiser 2y ago
Im so confused on what vibe coding is.
Is it:
- just pressing tab and letting copilot code whatever?
- asking an llm to do everything that it can and falling back on your own brain as needed or when its easier.
I guess probably more like the latter. I was just surprised to hear there was a special term for it. I thought everyone was doing that.
- sieabahlpark 2y ago[dead]
- charcircuit 2y agoThe pure definition is to have AI do everything for you without caring about what the actual code is.
- mvdtnz 2y agoYeah this is how I interpret it. Type text into the chatbot, copy and paste the outputted code. If it fails to compile, paste the error message and get the resulting code. Similar if it fails at runtime. Supply the LLM with additional code files where necessary but don't really look at the code, just copy and paste in, copy and paste out.
- Nav_Panel 2y agoCopy paste? Use something like desktop commander and just let it edit the files for you directly. It'll even run commands to test it out. Or go further and use Cline/RooCode and if you're building a webapp it'll load your page in a small browser, screenshot the contents, and send that to the model. The copy-paste stuff is beginner mode.
- nonethewiser 2y agoHow else are people using LLMs to code? Other than this? Its so fast to do these things. Seems dumb not to use an LLM to interpret an error message if you don’t immediately know the problem. And if it doesn’t work you can alway abort and do it yourself. The whole code gen and debugging process might take 45 seconds. Sure its dumb if you’re writing some short simple function. And you need to be in the loop and understand all the changes you are making in a professional setting. But that just sounds like the basic workflow of coding with an LLM.
- lodovic 2y agoCopy paste is so last year, just turn on agent mode in VS code or Cursor. It took me only a single prompt to convert a set of messy razor pages into a nicely structured React application.
- __MatrixMan__ 2y agoThe vibes are much better if you just tell it to run a certain command, then it can see the error message and you don't have to paste back and forth so much. You can go make a cup of tea and it'll just iterate on changing files and running that command until it does the desired thing.
- int_19h 2y agoThis is what AI-oriented IDEs like Cursor streamline - the LM gets immediate feedback from things like code completion, linter, build errors, test failures etc, and can immediately iterate without you having to do anything about it (sometimes overly aggressively even tbh).
- mhast 2y agoWhen I've been experimenting with Cursor I've found that one of the essential parts is the agent MUST be able to close the loop itself for it to be useful in any real sense. So if you are having the agent write a script to call an endpoint and do something with the result. Have it write a script that does that and then ask it to run the script itself. It will then be able to close the loop by itself and iterate on the code until it does what you want (usually). It is also very useful to ask the agent to write a test for something and then run that test to close the loop in the same way.
- Apocryphon 2y agoThey oughta call it YOLO coding, in that case, though I suppose that slang is over a decade out of fashion.
- __MatrixMan__ 2y agoYOLO has a misplaced modifier, they oughta call it YLOO coding (you live only once). I like to think I learned this from the person who killed YOLO a decade ago (she teaches English).
- nonethewiser 2y agoThat’s ambiguous. Whats the input? Copilot anticipating based off what you’re typing? An explicit prompt about what you want?
- asadotzler 2y agoYeah, you tell it what you want and it gives you something, then you tell it how that's not good enough and it gives you another thing, and you repeat until you have something that works for you (but, as the author notes, is hardly a real product that could be maintained and shipped to real customers.)
- anal_reactor 2y ago> That’s ambiguous. Whats the input? The input is undefined char*, and that's the magic of it. It's kinda funny we're reaching the phase where some people throw Syntax Error on a missing colon, but AI be like "I want sfssfsfsffsfs" "ayyy got you covered". How the tables have turned.