frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Anyone writing code from scratch or mostly doing architecting and LLM?

10•mattfrommars•2d ago
I'm assuming most firms have access to LLM, is it true? If so, is anyone really writing code from scratch lately or relying on the tool to write code for them?

At work, I have access to Github Copilot but it has a lot of guardrail. It is great to debug issues. Minor fixes and enhancement, it is useful. I mostly double check what it wrote and make sure it's code that I can read and understand. If it uses too many shortcut, I tell it to become more 'human readable'.

Now, I've been wanting to learn Python coming from Java and picked up Automate Boring Thing with Python Book. I'm looking at one its exercise which is to walk a tree directory. I can either memorize how its done in Python or just rely on LLM to write it.

Am I wasting time doing these exercises when they can easily be done with LLM within one or two shots? Because doing these exercise from scratch is very time consuming and I have to go back and forth to remember the syntax & libraries.

Comments

al_borland•2d ago
I still write most things myself. So far, Copilot has been very unreliable with what I’m working on and it often costs more time than it saves. I mostly use it for one-off regex or json stuff.

As far as Python goes, I think it depends on your goal. If you’re just trying to get something quick done, you can probably use an LLM. If you’re trying to learn something new and get a new skill, I think it’s worth going through it on your own. The examples might be easy for the LLM, but those are building blocks you’ll want so you can understand more complex things that the LLM might trip on.

I would also say, don’t try to memorize everything. You’ll always have access to reference material, LLM or not. So it’s more about understanding and the concepts and building blocks, not about memorizing the exact way a specific thing is done in the book.

I went through Automate the Boring Stuff several years ago. I went through the Excel stuff, but didn’t really commit it to memory. I just knew a year later that Python could solve my problem when it came up, and was able to find the stuff I needed and put it together. It also gave me some ideas on stuff I could do that I probably wouldn’t have thought to automate otherwise. So going though it can help get your brain asking the right questions, even if you ultimately use an LLM down the road. It will also help you write better prompts.

bawis•5h ago
Automate the Boring Stuff (I love this book) should be a mandate reading for all people working with computers, and I mean ALL PEOPLE.
justforfunhere•2d ago
When it comes to writing small scripts for various utility tasks, I now rely heavily on LLMs.

Additionally, lets say I would like to write something new that I don't know anything about, I now go first to a LLM, or two of them, to get an idea of what would be the best approach. It saves a lot of time that would otherwise go in research and discovery.

But I still don't trust it enough to write production level code. When I am writing something that I know will be released in a product, I steer clear of LLMs.

All of this when I am doing my day job. For my side projects, I try not to use LLMs.

aslansahin•2d ago
I'm an experienced SWE. I brainstorm the architecture using LLMs. After finalizing my design in Notes I break it down into independent components. Then, I ask an LLM to implement each component one by one in a single thread. Each component should be runnable on its own using unit tests.
cpach•2d ago
“is anyone really writing code from scratch”

Oh yeah, lots of people do. I have friends that hate AI and refuse to use it at all.

However, I guess it depends on what you mean with “from scratch”. In a corporate context, I would say most code-writing is fixing bugs or adding features to an existing project.

“Am I wasting time doing these exercises when they can easily be done with LLM within one or two shots?”

Depends on what your goal is. If you want to get better at programming, how would you get better if you don’t let your neurons form new pathways? However, perhaps you are more interested in the output and not in the process. But some day, you might need to debug your code, and then those pathways in your brain might come handy.

joshstrange•1d ago
Small targeted use of LLMs is the sweet spot for me, that can include Claude Code usage but not “write me this huge feature kthxbai”, I use it with dangerous permissions but I normally ask it to do small tasks that I review/tweak right away. That plus Copilot (auto-complete, I don’t care for the agent mode) is what I’m using right now.

I do lean heavily on Claude Code or other LLMs for small scripts and one-off tests. It’s amazing for that, “here are some log lines, I want I extract X, Y, Z from each line and write that out to a new file” or even little tools to wrangle out ticketing system “write a script to read ticket ids from a file and update each ticket to fill out the deployed version field with the value I pass into this script”.

Lastly, not exactly “writing code” but I semi-recently started asking Claude Code things like “find me all the places we do X in the code base” or “how does Y feature work”, it’s FAR from perfect but it’s an amazing starting point. Claude code doesn’t need to write code to be useful, just being able to spider through my codebase and pull out insights is amazing.

kode-targz•1d ago
Any systems / low-level / embedded developpers who could give their grain of salt on this? I'm a student and I'm specializing in embedded and systems programming, but everyone around me (webdevs) tells me LLMs will take over and writing C and Zig and Rust is useless... Should I just give up on my passion and embrace AI and high-level programming?
ajoseps•1d ago
honestly i think LLMs make it easier to write with lower level languages and you get the upside of being able to optimize better since you have more granularity of control in something like C vs something like Python.

I don’t know if LLMs will completely take over, but they’re a useful tool today. I think it’s worth learning how to use them effectively, but also know how to work without them, and when to work without them.

kryptoyogi•1d ago
When creating a new project, I code from scratch to get the architecture/folder/file structure coherently setup.

However, when contributing to existing repos, I use Claude Code for: 1) understanding repo structure, flow of function calls, 2) making small fixes, 3) using plan mode to iterate on how to implement a larger feature.

On the topic of small fixes, I use git worktrees to use Claude Clode parallelly. Very useful to tackle 3 or 4 small fixes at once.

The diffs created by Claude Code can get a bit disorganized in my head, so I use GitHub PRs to manually check diffs.

Regarding your question, you are not necessarily wasting time doing the exercies. Being able to "code from scratch" accelerates your ability to use LLMs in a controlled, but powerful manner, without degenerating into vibe code slop.

botanrice•1d ago
My personal POV is that I've been coding from scratch when coding for creativity. It has been wildly refreshing to go back to handwriting some cool little HTML/CSS/jQuery(sometimes) static websites.

From a professional & learning standpoint? Some good points in this thread:

- Realizing I still need to code from scratch when setting up initial architecture/directory stuff like kryptoyagi said. GitHub Copilot fails at this constantly (or I suck with it)

- cpach is right... I'd guess that a >50% majority of software devs worldwide are barely using AI lol. I graduated CS not even 10 years ago and like 7 out of 8 of my friends dont want to use it (or are working on old-ass repos/govt repos)

- aslansahn is spot on, I feel like this has been the most efficient approach. Plan everything out, have it go one-by-one for you, step in manually once in awhile to course correct if necessary

eZinc•1d ago
I've only been using AI for small editor tools or for common utils (math, physics, string manipulation) instead of importing libraries to reduce random dependencies.

I find that most LLMs hallucinate and write too much bad code.

However, with Claude Opus 4.5 it's completely shifted my entire day. I'm out here running 8 concurrent agents knocking items off our todo list like crazy. I've gone from 99% manual code to 1% over the course of the last 4 days.

Never thought this was going to happen until at least 2060...

mattfrommars•1d ago
> 8 concurrent agents

how are you managing to run and work between 8 concurrent agents to get through the ask in hand?

I keep seeing git workspace tree + agent combo being mentioned

linesofcode•1d ago
git workspaces, combined with some guard rails to keep the llm on task. For example a detailed document with requirements and implementation details and a unit tests that the llm can keep verifying against and/or enhancing between each step to increase the reliability of it’s output.

Give Claude Code a try, with git work trees and especially some skills pre-loaded https://github.com/obra/superpowers

kleer001•15h ago
> Give Claude Code a try...

Two days after they released their web interface for Claude Code I was hooked. Haven't really used the regular interface or the app since. Oh god, I'll never go back to copy-pasting code.

ahoka•1d ago
You are reading too many advertisements. Take a break from the internet astroturfing and touch some grass (and write some Python).
linesofcode•1d ago
Just thinking about physically typing out syntax again with my fingers makes me queazy.

I’m writing, designing and building more than ever before but Claude, Cursor and friends do all the grunt work. The most I’ll do is some pseudo-code if I want to clearly define a pattern for the LLM to follow - but that’s it!

PoisedProto•16h ago
I hate that people even have to consider this now... Learn it yourself!

Ask HN: How many people got VPNs in response to laws like UK Online Safety Act?

62•hodgesrm•2h ago•31 comments

I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA

203•proberts•20h ago•261 comments

Ask HN: Modern C# book for experienced developers?

18•Fire-Dragon-DoL•10h ago•3 comments

Ask HN: Cloudflare WAF Alternatives?

23•rco8786•16h ago•11 comments

Ask HN: Who wants to be hired? (December 2025)

158•whoishiring•4d ago•398 comments

Ask HN: What is the future of SaaS when things are this easy to build?

6•fbrncci•10h ago•2 comments

Ask HN: Quality of recent gens of Dell/Lenovo laptops worse than 10 years ago?

110•ferguess_k•4d ago•201 comments

Is Cloudflare Down Again? Also, DownDetector/Claude.ai/LinkedIn?

31•dfasoro•1d ago•4 comments

Ask HN: Who is hiring? (December 2025)

309•whoishiring•4d ago•482 comments

Ask HN: How is you and your team are using AI?

2•IdontKnowRust•15h ago•0 comments

Lenovo Support – Hot Garbage

7•rizs12•21h ago•0 comments

Ask HN: Why does Facebook.com activate the microphone?

24•35mm•2d ago•9 comments

Ask HN: What are the ethics at YC?

25•jagged-chisel•1d ago•12 comments

Ask HN: How does one get involved in FPGA development?

14•meifun•1d ago•15 comments

Tell HN: Even LinkedIn is running on Cloudflare and not Azure

2•vira28•1d ago•2 comments

Agentic QA – Open-source middleware to fuzz-test agents for loops

3•Saurabh_Kumar_•2d ago•0 comments

Microsoft won't let me pay a $24 bill, blocking thousands in Azure spending

193•Javin007•3d ago•104 comments

Tell HN: It's now impossible to disable all AI features in Firefox 145 (latest)

72•pera•6d ago•26 comments

Ask HN: Is Cloudflare Down for You?

20•Palmik•2d ago•12 comments

Ask HN: Anyone writing code from scratch or mostly doing architecting and LLM?

10•mattfrommars•2d ago•17 comments

Ask HN: I haven't had to buy a Windows computer in 20 years

11•meifun•2d ago•18 comments

Ask HN: Will Kagi's subscription cost reduce with enough subscribers?

4•IndySun•2d ago•8 comments

Ask HN: Why are streaming apps so bad (insiders only)?

8•tonymet•1d ago•15 comments

Ask HN: Are LLMs just expensive search and scripting tools? Is it that simple?

4•edwin2•1d ago•4 comments

Regarding Thien-Thi Nguyen

368•SmolCloud•5d ago•8 comments

Tell HN: Want a better HN? Visit /newest

298•alecco•1w ago•85 comments

Ask HN: What is better to use lead-free/leaded solder?

10•DenisDolya•3d ago•11 comments

Ask HN: Do you still think public blockchains/stablecoins are useless/a scam?

7•spir•2d ago•17 comments

Ask HN: What has been your experience with Agentic Coding?

7•grandimam•3d ago•7 comments

You've reached the end!