Live data from Hacker News

Vibe Coding and the Future of Software Engineering

alexp.pl

1–10 of 103 posts

Re: Vibe Coding and the Future of Software Engineering

#2
As I said in one of my latest YT videos: if you can't code, sure, go all for it, the difference with x -> 0 in the denominator tends to infinity. But if you can code, there are much better ways to use generative AI to aid you in your coding tasks. Ways that will make you faster while you learn more, understand every single line of the code that is in your application, never letting badly written code go into your code base. Maybe in the future AI will be able to write much better code than humans, and vibe coding will be the right way, but now it's like when assembly was a hell lot better written by hand than what a compiler could do.

Re: Vibe Coding and the Future of Software Engineering

#3
post #2

As I said in one of my latest YT videos: if you can't code , sure, go all for it, the difference with x -> 0 in the denominator tends to infinity. But if you can code, there are much better ways to use generative AI to aid you in your coding tasks. Ways that will make you faster while you learn more, understand every single line of the code that is in your application, never letting badly written code go into your co…

Are you willing to elaborate about how they can accelerate you?

Re: Vibe Coding and the Future of Software Engineering

#4
post #2

As I said in one of my latest YT videos: if you can't code , sure, go all for it, the difference with x -> 0 in the denominator tends to infinity. But if you can code, there are much better ways to use generative AI to aid you in your coding tasks. Ways that will make you faster while you learn more, understand every single line of the code that is in your application, never letting badly written code go into your co…

Are you willing to elaborate about how they can accelerate you?

I have a youtube channel with a playlist of coding with AI, where I show what I do with it (a small part, actually, but representative enough I hope). This is is the first video of the series I believe:

https://www.youtube.com/watch?v=_pLlet9Jrzc&list=PLrEMgOSrS_...

And here, Redis bugfixing with Claude Sonnet:

https://www.youtube.com/watch?v=rCIZflYEpEk&list=PLrEMgOSrS_...

Re: Vibe Coding and the Future of Software Engineering

#5
post #2

As I said in one of my latest YT videos: if you can't code , sure, go all for it, the difference with x -> 0 in the denominator tends to infinity. But if you can code, there are much better ways to use generative AI to aid you in your coding tasks. Ways that will make you faster while you learn more, understand every single line of the code that is in your application, never letting badly written code go into your co…

Are you willing to elaborate about how they can accelerate you?

> Are you willing to elaborate about how they can accelerate you?

A few examples from my experience:

    - Here is a SQL query. Translate this back into our janky ORM
    - Write tests that cover cases X, Y, Z
    - Wtf is this code trying to do?
    - I want to do X, write the boilerplate to get me started
    - Reshape this code to follow the new conventions
And it often picks up on me doing a refactor then starts making suggestions so refactoring feels like tab tab tab instead of type type type.

Re: Vibe Coding and the Future of Software Engineering

#6
If you're writing one-off scripts though, I find vibe coding fantastic. I found myself in a work meeting where I was mostly there to let a junior present some joint work we did and answer any questions the junior couldn't. Since I wasn't really needed (the junior eng was awesome), I was fidgeting and wanted to analyze the results from an API I had access to. A few prompts from Claude and I was hitting the API, fetching results, using numpy to crunch what I needed, and getting matplotlib to get me nice pretty graphs. I know Python and the ecosystem well so it wasn't hard to guide Claude correctly.

I probably got the whole thing done in 5 prompts and still had enough brain space to vaguely follow along the presentation. Before this kind of thing would have taken 20-30 min of heads down coding. This would have been a strictly "after work" project which means I probably wouldn't have done it (my real side projects and family need that time more than this analysis did.) That's the kind of thing that an experienced programmer can get out of vibes coding.

Re: Vibe Coding and the Future of Software Engineering

#7
post #2

As I said in one of my latest YT videos: if you can't code , sure, go all for it, the difference with x -> 0 in the denominator tends to infinity. But if you can code, there are much better ways to use generative AI to aid you in your coding tasks. Ways that will make you faster while you learn more, understand every single line of the code that is in your application, never letting badly written code go into your co…

Are you willing to elaborate about how they can accelerate you?

Data point of one: ChatGPT 3.5, even the free product, is so much better at answering technical questions than Google.

Some questions I had successfully answered recently:

> "I would like to animate changing a snippet of code. I'll probably be using Remotion. Is there a JavaScript library that can animate changing one block of text into another?"

> "In Golang, how can I unit test a http mux? How can I test the routes I've registered without making real http calls?"

> "Hello ChatGPT. I have an application using OpenTelemetry. I want to test locally whether it can collect logs and metrics. The application is running in Tilt. How can my local integration test read the logs and metrics from the OTel collector?"

Re: Vibe Coding and the Future of Software Engineering

#8

If you're writing one-off scripts though, I find vibe coding fantastic. I found myself in a work meeting where I was mostly there to let a junior present some joint work we did and answer any questions the junior couldn't. Since I wasn't really needed (the junior eng was awesome), I was fidgeting and wanted to analyze the results from an API I had access to. A few prompts from Claude and I was hitting the API, fetchi…

Agreed. I've had a lot of success using ChatGPT for nontrivial bash one-liners. They're small in scope and there must be a huge amount of training data for them, I use them rarely enough that I don't remember details off the top of my head, and they're intrinsically throwaway code
Post reply on HN