Live data from Hacker News

Ask HN: What would you recommend a vibe coder learn about how all this works?

news.ycombinator.com

1–10 of 44 posts

Ask HN: What would you recommend a vibe coder learn about how all this works?

#1
I'm a writer who started building with AI coding tools about 8 months ago. No programming background. It's been one of the most fun things I've ever done.

I want to understand more about what's actually happening. What are the big concepts that, once you get them, make everything click in a more interesting way? The stuff that made you go "oh, THAT'S what's going on."

Re: Ask HN: What would you recommend a vibe coder learn about how all this works?

#7
hello,

as always: imho (!)

recognize that software-engineering is not about writing / vibing code but to solve (!) problems.

nobody cares if the code which solves a problem is generated / copied / written ... as long as it was legally obtained ... ;))

anyway: code is liability, every line of code which was not written to solve a problem keeps future maintenance-costs low(er) ...

additionally especially for non-trivial problem-solutions - read: projects -, its essential to have maintainable code. which means, code that is ...

* easy to understand ~ new developers

* easy to extend ~ new features

* easy to sustain ~ update dependencies, update the underlying runtime-environment etc.

especially if it solves a complex problem for a company, the code may be used for years or even decades =?> keep that in mind!

just my 0.02€

Re: Ask HN: What would you recommend a vibe coder learn about how all this works?

#8
Congrats on the journey and desire to learn.

There's different books or approaches to learn more depending on your needs.

It's usually useful to tailor things to whatever you already produce for others or consume for yourself because then you get the most of your feedback loop.

Can you share more about what you've tried so far, with what tools, or what feels the most fun or useful ?

Depending on your answers one might recommend things like

- https://automatetheboringstuff.com/

- land of lisp (comics and games with functional programming to intentionally separate you from vibe coding traditional tools)

- web related dev with different viz or presentation tools

useful concepts regardless will be, in my mind, unit testing and how to approach problems and breaking them down but it all depends on where you want to go.

Re: Ask HN: What would you recommend a vibe coder learn about how all this works?

#9
First of all, that’s great. That’s what I hope it would happen: non technical people using this tools, feeling the apart of “power” of coding, and feeling the desire to learn more.

About your question, it is hard to give one. I don’t think there is one big thing that makes everything click, and if there is one, it is probably different for different people. But I can give some advices.

1. You can ask the AI itself to explain how the code works. In my experience they are usually fine at that. You can probably tailor the explanation to your technical level, so that’s neat.

2. Stick to one language. I don’t know which language your AI is using for your tools (probably Python if they run on your machine or JavaScript if they work on a browser). Learning what you are using is the first step.

3. Once you know that, you can use the AI and some online guides to learn the very basics of the language. Maybe ask the AI for very simple toy tools (e.g., a web page where you write a phrase, click a button, and it will show that phrase with the words in reverse order) and try to understand what the code does. You may still ask the AI about the lines you don’t understand.

4. It is a potentially long journey. Go as far as you like. After these first steps, you will likely have more specific questions. That’s good. :)

Re: Ask HN: What would you recommend a vibe coder learn about how all this works?

#10
Stop vibing and use your own brain. After you have learned enough and consider yourself a software engineer you can restart using AI-tools. Only then you will have enough knowledge and experience to review the output of those machines.

And don't you dare to ever open a pull request with AI generated code in any free and open source project.

Post reply on HN