Comment

Comment by danielvaughn

The approach I've taken to "vibe coding" is to just write pseudo-code and then ask the LLM to translate. It's a very nice experience because I remain the driver, instead of sitting back and acting like the director of a movie. And I also don't have to worry about trivial language details.

Here's a prompt I'd make for fizz buzz, for instance. Notice the mixing of english, python, and rust. I just write what makes sense to me, and I have a very high degree of confidence that the LLM will produce what I want.

  fn fizz_buzz(count):
    loop count and match i:
        % 3 => "fizz"
        % 5 => "buzz"
        both => "fizz buzz"

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton