Live data from Hacker News

Ask HN: What's the best way to get started with LLM-assisted programing?

news.ycombinator.com

1–10 of 48 posts

Ask HN: What's the best way to get started with LLM-assisted programing?

#1
Currently, I use Perplexity or ChatGPT via the web prompt for small coding tasks, but sometimes I'll use Ollama. Stuff like writing a shell script perform some task, or maybe a small Python function. I'd like to get to the next level, but I don't know where to start.

What are some good places to get started? What are the tools you use to get work done?

Some background: I mainly do data engineering using Python and Snowflake + MySQL. I use Pycharm as my dev environment, but I'd be open to changing that if there's a better option.

Re: Ask HN: What's the best way to get started with LLM-assisted programing?

#2
Personally, I would get started using Aider.chat. It's pretty intuitive if you're comfortable in a terminal.

No matter what, the current paradigm is the "mixture of experts", aka defining roles and then switching between the roles. In the case of Aider, you're mainly looking at "architect" and "code". Others like Cline/Roo provide also this, but more limitations and access to MCP. Honestly, I would avoid these more advanced tools until you get an understanding for how everything works.

Begin with your "architect" and agree on a design, then act as an engineering manager to guide your "code" model to implement the tests. Once you have a full test suite, make sure that you can use commands like `/lint` and `/test` to call your toolchain as needed.

I personally prefer this method (again, when you're getting started) because it's independent of every IDE and will work anywhere you have a terminal. After you get comfortable, you'll quickly want to use a more advanced tool to trade your money for the time of the machine(s). When you get to that point you'll understand what the fuss is about.

Re: Ask HN: What's the best way to get started with LLM-assisted programing?

#3
I would highly recommend starting w/ OpenRouter - it's easy to play around w/ free models and their documentation is great.

OpenRouter Quickstart: https://openrouter.ai/docs/quickstart

See usage example here (Typescript): https://github.com/brownrw8/olelo-honua/blob/main/src/provid...

And while you're at it, check out my open source project using OpenRouter, ʻŌlelo Honua ;)

ʻŌlelo Honua: https://www.olelohonua.com

Re: Ask HN: What's the best way to get started with LLM-assisted programing?

#4
We are in early stages of rolling out these capabilities to our team but we have aligned in VS Code + Cline + Sonnet 3.7. We use databricks but there’s a plugin for snowflake as well in vs code.

Couple of helpful tidbits we’ve learned:

- Define a read me that lays out your architecture. Normalization, libraries to use for different use cases, logging requirements, etc. reference it on every new task.

- keep notebooks from getting too big. A notebook per elt action or table definition make’s your compares faster and required context smaller.

Be prepared to be amazed. We’ve pointed Cline at an api doc and had it spit out elt code and a model that were nearly production ready. We’re pulling weeks off estimates…

Re: Ask HN: What's the best way to get started with LLM-assisted programing?

#5
Avoid it! Perplexity rules prohibit commercial use, so it’s effectively a toy for hobby stuff like gardening and recipes. ChatGPT rules prohibit sharing the output with other AI, and they’re training on everything you pass in, so you’re literally paying to get brain raped, they hold all the cards, and that’s as dumb as it sounds.

Anybody coding with OpenAI at this point ought to be publicly mocked for being a sheep. All you’re doing when you code with AI is becoming dependent on something where you’re paying them to train their model to imitate you. It’s not good for anyone but OpenAI.

Better off learning a better (compiled) programming language. If you have to use AI, use Groq or Ollama as you can keep these outputs to train or fine tune your own AI one day.

Why pay OpenAI for the privilege to help them take your job? Why outsource mental activity to a service with a customer noncompete?

Re: Ask HN: What's the best way to get started with LLM-assisted programing?

#6
I've had an excellent experience with Cursor: https://www.cursor.com/en

I used VSCode as my default IDE so the switch was very natural.

I am working on machine learning in bio, and many of the tools, methods, and data structures are very domain specific. Even so, the agent feature is good enough that for most tasks, I can describe the functionality I want and it gets me 80% of the way there. I pay $20 a month for Cursor and it has quickly become the last subscription I would cancel.

Re: Ask HN: What's the best way to get started with LLM-assisted programing?

#8

Bolt.new is my personal recommendation. I demo'd a quick experiment from scratch that posted here if you're interested, sorry no yt link tho: https://www.tiktok.com/t/ZT2TJ8hrt/

Steps were as follows; Screen grab of a clip from the series Severance, of the Lumen OS GUI, uploaded screenshot to blackbox.ai/screenshot to transcribe it into SVG, Uploaded SVG and 5 second clip to bolt.new with prompt instructions to guide, clicked "deploy"

Re: Ask HN: What's the best way to get started with LLM-assisted programing?

#9
If you're just getting started and want to keep using Pycharm, you can check out https://dyad.sh/ it's an open-source standalone AI pair programming tool so you don't need to switch IDEs. It's also focused on making it like you're pair programming with a real engineer, asking you clarifying questions and having you pick from different options when the request is unclear.

You can also check out the GitHub repo at: https://github.com/dyad-sh/dyad

(disclosure: I created Dyad)

Post reply on HN