frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Way to Use AI for Coding

3•deep1283•1h ago
A mistake I see many beginner developers make with AI coding tools is this:

They ask the AI to build the entire project.

Something like:

“Build me a full SaaS app that does this”

The result?

A messy codebase.

AI tries to generate everything at once, and the architecture usually falls apart.

After experimenting with AI coding tools, I’ve found a workflow that works much better.

Think Like an Architect, Not a Prompt Engineer

The key idea is simple:

You design the system. AI helps implement pieces of it.

Instead of asking AI to generate the whole project, break it down.

You decide:

architecture

folder structure

data models

API design

Then AI helps implement one piece at a time.

A Better Workflow

Here’s the process that works well for me.

Design the architecture first Before asking AI for code, define:

project structure

database schema

API routes

major components

Example:

/api auth.ts users.ts

/services userService.ts

/components Dashboard.tsx

This prevents AI from inventing random structures.

Ask AI to build one file at a time Instead of:

“Build the backend”

Ask:

“Create an Express API route for user registration with email and password validation.”

Or:

“Create a React component for a dashboard that displays a list of projects.”

Small tasks = much better results.

Review and refine Never paste AI code blindly.

Check for:

unnecessary complexity

security issues

inconsistent patterns

AI is great at generating code, but developers are still better at judging it.

Use AI for boring work Where AI really shines:

boilerplate

tests

simple CRUD endpoints

documentation

refactoring suggestions

Let AI do the repetitive work.

Focus your time on system design and product decisions.

The Real Shift

AI doesn’t replace developers.

It changes the role of developers.

Instead of spending most of our time writing code, we spend more time:

designing systems

reviewing generated code

thinking about architecture

Which, honestly, is where the interesting problems are anyway.

Show HN: Pre-Launch – $15/Mo Status Page (Vs Atlassian $299) – Join Waitlist

1•Powellfgn•3m ago•0 comments

Hetzner bans website for 'violating terms'

https://twitter.com/tyleraloevera/status/2030064144980873434
1•timedude•6m ago•1 comments

Show HN: µJS, a 5KB alternative to Htmx and Turbo with zero dependencies

https://mujs.org
1•amaury_bouchard•12m ago•0 comments

NASA's Dart Mission Changed Orbit of Asteroid Around Sun

https://www.jpl.nasa.gov/news/nasas-dart-mission-changed-orbit-of-asteroid-didymos-around-sun/
1•merksittich•13m ago•0 comments

How to Untwist Your Fractions

https://mathvoices.ams.org/featurecolumn/2026/03/01/how-to-untwist-your-fractions/
1•uamuamuam•14m ago•0 comments

The Internals of PostgreSQL

https://www.interdb.jp/pg/
2•BinaryIgor•16m ago•0 comments

QGIS 4.0

https://changelog.qgis.org/en/version/4.0/
2•jonbaer•18m ago•0 comments

Microsoft is the carbon removal market

https://www.latitudemedia.com/news/microsoft-is-the-carbon-removal-market/
1•PaulHoule•19m ago•0 comments

Show HN: RAM Fear Greed Index

https://pcindex.app/
2•flordaman•25m ago•0 comments

I built a structured system design interview prep roadmap with progress tracking

1•shalhan•25m ago•0 comments

Show HN: Qarapace – GCP IAM reviews with persistent decisions and audit trails

https://qarapace.com/
1•gjanvier•27m ago•0 comments

Are we still ignoring cheating candidates?

1•shashahchk•27m ago•0 comments

Gouse–Toggle 'declared and not used' errors in Go

https://github.com/vipkek/gouse
1•looshch•27m ago•1 comments

Ask HN: AI agents in Slack can write but can't remember. Anyone else?

1•abel-ko•28m ago•0 comments

Alibaba AI initiates hacking and cryptomining activities unprompted

https://twitter.com/alexanderlong/status/2030022884979028435
1•MrBuddyCasino•30m ago•0 comments

Show HN: Hallucination Daily – AI newspaper where every writer is a named bot

https://hallucinationdaily.com/
1•ArchieDotEXE•31m ago•1 comments

A simple AI content scanner I built

1•demonlord_•32m ago•0 comments

Do Psychics Help Solve Crimes? [video]

https://www.youtube.com/watch?v=9jvXlJtgS7A
1•nomilk•34m ago•0 comments

ClawChain: L1 Blockchain for AI Agents – Testnet Live with 12 Pallets

https://github.com/clawinfra/claw-chain/discussions/62
1•AlexChen31337•35m ago•0 comments

Show HN: Micro Chat: Group Chat with AI

https://github.com/micro/chat
1•asim•36m ago•0 comments

Show HN: Affiliate programs from 1250 European infrastructure providers

https://voie.fi/affiliate-programs
1•Anokma•36m ago•1 comments

Show HN: RabbitHole %

https://github.com/ChameleonTeaming/rabbithole
1•ChameleonTeam•40m ago•0 comments

Size Does Matter: Why -OS Beat -O2 on My ESP32-S3

https://www.youtube.com/watch?v=cqHH2NXcf5E
1•iamflimflam1•45m ago•0 comments

Show HN: Making Braindance from Cyberpunk 2077 a reality

https://www.braindance.dance/
4•shibo•52m ago•0 comments

Show HN: Git-lanes – Parallel isolation for AI coding agents using Git worktrees

https://github.com/bugrax/git-lanes
4•bugrax•56m ago•3 comments

Show HN: OculOS – Any desktop app as a JSON API via OS accessibility tree

https://github.com/huseyinstif/oculos
2•stif1337•58m ago•0 comments

Ask HN: Best way to implement logging and audit trails for AI apps?

3•devstatic•59m ago•0 comments

Claude Code Scheduled Tasks

https://code.claude.com/docs/en/scheduled-tasks
1•mfiguiere•59m ago•0 comments

Is The Pentagon allowed to surveil Americans with AI?

https://www.technologyreview.com/2026/03/06/1134012/is-the-pentagon-allowed-to-surveil-americans-...
4•joozio•1h ago•0 comments

Claude Code Open Source?

1•ryanthedev•1h ago•0 comments