Sahin Boydas
Random theme
Select theme

Part 3: Building the product

How to Choose a Tech Stack for a Startup

From the first prototype to the system that has to scale: what to pick, what to buy, and what to leave alone until it breaks.

By Sahin BoydasChecked November 24, 202626 min read

GuideTopic 25 of 10048 sources

The short answer

Build with the language and framework your team already knows. Early on, speed of shipping matters more than the stack, and a product that works can fix its technology later.14 Spend novelty only where it gives you an edge: Dan McKinley’s 2015 rule of thumb is about three innovation tokens per company, with mature tools everywhere else.2 Start with one application and one database, buy what is not your core product, and split or rewrite a part only when a measured limit or the size of the team forces it.91016

Developers who used PostgreSQL in the past year, of 12,061 who answered, the most used database, Stack Overflow Developer Survey, 2026
57.9%7
Founders in a Y Combinator batch who said more than 95% of their codebase was AI-generated, YC survey of its early-2025 batch
1 in 432
Infrastructure cost cut when Amazon Prime Video moved one monitoring service from microservices to a monolith, 2023
90%+40
Commercial codebases with open-source license conflicts, 947 codebases audited by Black Duck, November 2024 to October 2025
68%43
Read at your level

Level 1 of 3

New to this

For first-time and non-technical founders: what a tech stack is, why the stack you know beats the best one, what boring technology means, and who should choose.

What a tech stack is

A tech stack is the set of tools your product is built with and runs on. Each layer is a separate decision, and each gets harder to change once customers depend on it.

  • Language. What the code is written in, such as JavaScript, Python or Ruby. In the Stack Overflow Developer Survey 2026, JavaScript was the most used language for the twelfth year in a row, at 62.0% of respondents, with Python at 58.0%.7
  • Framework. A kit of ready-made parts for the jobs every web product has: pages, forms, logins, talking to the database. Rails, Django, Laravel and Next.js are frameworks.
  • Database. Where your customers’ data lives. PostgreSQL was the most used database in the same survey, at 57.9%.7
  • Hosting. The computers that run the product: a cloud provider such as AWS or Google Cloud, a simpler platform built on top of one, or a server you rent or own.1
  • Services you buy. Login, payments and a hosted database are sold as finished products, so you do not have to build them.1

The choice matters less at the start than most founders fear. Diana Hu of Y Combinator, who was a startup CTO before she became a partner, tells technical founders that if the company works and gets users, the technology can be fixed later. Her example is Facebook, which was written in PHP because Mark Zuckerberg knew it. When PHP became too slow for the size Facebook had reached, the company built its own tool to turn PHP into faster C++ code.1

Why the stack you know beats the best stack

An early startup is a race to learn what customers want. Hu’s timeline is a prototype in days and a first working product in weeks, and she says to choose technology for how fast it lets you change the product.1 Michael Seibel gave the same target in 2019: build the first version in weeks, not months.6 You are fastest in the tools you already know.

Pieter Levels has built a string of products, mostly on his own, in PHP, a language other engineers often mock. He told Lex Fridman in 2024 to build with the technology you already know, since the code can be rewritten later and the stack is not the most important part of a new business.4

There is one well-known argument on the other side. Paul Graham wrote in 2001 that his startup Viaweb got ahead of its rivals because it was written in Lisp, an unusual language that let a small team ship features faster than competitors using C++ and Perl.3 Patrick Collison went the same way with his first company, which was built in Smalltalk, another unusual language. He has joked that its elegant design benefited nobody, because the company had no users.5 The two stories point different ways on unusual languages. They agree on the rule underneath. Graham and his co-founder picked Lisp because they both already knew it well.3

  • Diana HuGroup partner at Y Combinator

    Balance what the product needs against what you already know, so you can ship fast. Do not pick a new language for your startup because you want to learn it. Pick the tools you can launch with soonest.1 at 14:52

  • Pieter LevelsFounder of Nomad List and Photo AI

    His stack is an accident. PHP, HTML and CSS were what he knew when his products took off. Learning Node.js sat on his to-do list for years, and the products grew too fast for him to get to it.4 at 41:47

  • Patrick CollisonCo-founder and CEO of Stripe

    His first company was built in Smalltalk. He jokes that its elegant design helped nobody, because the company had no users. At Stripe the rule became to take the practical route until users have shown the thing is worth building well.5

  • Paul GrahamCo-founder of Viaweb

    Viaweb wrote its store builder in Lisp while rivals used C++ and Perl. He credits the language with letting a tiny team add features faster than competitors, and says to judge a technology by results, not by how many others use it.3

What boring technology means

In 2015 the engineer Dan McKinley gave this advice a name that stuck: choose boring technology. A boring tool, in his sense, has been in use long enough that people know what it can do and, more important, how it fails. He is careful to separate boring from bad. His examples were MySQL, Postgres, PHP, Python and cron. Every tool has problems you know about and problems you have not met yet, and a new tool has far more of the second kind.2

McKinley’s model is that a company gets about three innovation tokens. Each time you pick something new and unproven, such as a database released last year or a language nobody on the team has shipped with, you spend one. The supply does not refill for a long time.2 Spend them on the thing that makes your product different, and use the dull, proven option everywhere else.

Instagram is the standard example. In 2011, a little over a year after launch, its small engineering team was serving more than 14 million users. The team listed its rules for choosing systems: stay simple, reuse what already exists, and prefer proven technology. Most of its data sat in PostgreSQL.8

Start with one application

A monolith is a product built as one application: one codebase, deployed as one unit. Microservices split the product into many small programs that talk to each other over a network.

Martin Fowler looked at the stories he had heard by 2015 and found a pattern. Nearly every microservice success he knew of had begun as a single application that outgrew itself and was split. Nearly every system designed as microservices from day one had run into serious trouble.9 Many small services need automated deployment, monitoring and ways to handle failures between them, and that work slows a small team down.10 Uber, which ran about 2,200 microservices by 2020, wrote that in a small organization the benefit probably does not make up for the added complexity.11

  • David Heinemeier HanssonCreator of Ruby on Rails, co-owner and CTO of 37signals

    Microservices answer an organizational problem: thousands of developers who cannot all work in one codebase. A team of 10, 50 or even 100 that copies the pattern swaps simple function calls for network calls and pays for complexity it does not need.12 at 0:56

  • Kelsey HightowerThen at Google Cloud

    Teams that lost discipline inside one codebase split it into dozens of services, hoping to find the discipline they never had. They end up with the same tangle spread across a network, plus new tools to watch it.13

  • Martin FowlerChief scientist at Thoughtworks

    Do not consider microservices until the system is too complex to manage as one application. Most software should be a single application with clean modules inside it, because running many services is extra work that slows a team down.10

Who should choose

The person who chooses the stack should be the person who will build and maintain the product. Y Combinator’s Dalton Caldwell and Michael Seibel said in 2023 that a software company without a technical co-founder is not yet in the game, and that hiring an outside development shop in place of one sharply raises the chance of failure. Their evidence is the companies YC funded: DoorDash and Airbnb depended on how fast they could ship software.14

Seibel was the one non-technical founder among four at Justin.tv, which became Twitch, and says none of it would have happened without the other three. A founder who cannot judge engineers also tends to hire weak ones first, and the problem compounds with every later hire.14

AI tools have moved this line a little. Tom Blomfield of Y Combinator said in 2025 that someone who has never written code can get a working interface out of tools such as Replit or Lovable. When he tried it, the same tools struggled once he wanted precise changes to the logic behind the interface.15 A prototype made this way can show that customers want the product, and it still needs someone who understands the system.

Level 2 of 3

Doing it now

For founders and first engineers choosing now: the decision in order, the questions that settle each layer, what to buy, what AI tools change, and a checklist before you commit.

Choose the stack, step by step

  1. Write down what the product must do

    List what the product has to handle in its first year: web or mobile, live updates, heavy data, a regulated industry, an interface that customers build on. Hu’s rule is short: “The only tech choices that matter are the ones tied to your customer promises.” Her own startup threw away and rewrote much of its code as it grew, and kept only the interface its customers had built against.1

  2. List what the builders already know

    Write down every language, framework and database that someone on the team has shipped a real product with. That list is your default stack. Leave it only for a reason you can state.14

  3. Count your innovation tokens

    Mark each choice that is new to the team or new to the industry. Keep the count at three or fewer, and make sure each one sits where your product is supposed to be better than the alternatives.2

  4. Decide what to buy

    Login and payments are solved problems you can rent. Hu points out that startups once ran out of money before launch because they had to build all of it themselves.1 Build only what is the core of your business.16

  5. Start with one application and one database

    Put everything in one codebase with one database. Keep the parts separate inside it, so a part can be moved out later if it has to be.910

  6. Build something real within two weeks

    A stack is proven by shipping on it. Get a prototype in front of users in days and a first version in weeks.16 If the stack is what slows you down, change it now, while there is nothing to migrate.

  7. Write the decision down

    Record what you chose, why, and what would make you look again. McKinley’s advice is to treat every later addition as a decision the whole company sees, with a plan to move old code over when one tool replaces another.2

The questions that decide each layer

No layer has a winner. Each has a few deciding questions, a safe default, and a known reason to leave it.

Questions that decide each layer of the stack
LayerQuestions that decide itSafe defaultReason to leave the default
LanguageWhich one has the team shipped with? Are there libraries for your problem? Can you hire for it?A widely used language the team knows. JavaScript, Python and TypeScript were used by 62.0%, 58.0% and 43.8% of developers in 2026.7One part of the system has a measured problem that another language fixes.17
FrameworkDoes it have one accepted way to do common things? Has it been stable for years?A mature, full framework for your language. Node.js and React were the most used web technologies in 2026, at 46.4% and 41.5%.18The product is not a web application, or the framework blocks something customers need.
DatabaseIs the data about related things, such as users, orders and accounts? Who looks after it at night?PostgreSQL, the most used database in the 2026 survey, hosted for you.71A table has grown past what one machine can hold. Figma and Notion reached that point after years.1920
HostingWho is on call? What is the bill at ten times today’s use? How would you leave?One cloud provider, or a platform on top of one, while you are small.21A large, steady workload where renting costs far more than owning.22
Login and paymentsIs this the product you sell? What does a mistake cost?Buy both.1It is a core function of your business.16
ArchitectureHow many engineers work on it? Can one person still understand it?One application.10The system is too complex to manage as one, usually because many teams work in it.1011

Usage shares come from the Stack Overflow Developer Survey 2026. Each share is of the people who answered that question: 14,099 for languages, 12,061 for databases and 10,281 for web frameworks. They count developers who did extensive work with a tool in the past year, not startups.718

On language, hiring cuts both ways. A popular language gives you the largest pool. Graham argued in 2004 that a less common language attracts better programmers, because people learn it out of interest and not to get a job.24 A small team that already shares an uncommon language can do well with it. A team that picks one for the hiring effect alone is spending an innovation token on recruiting.

Two checks get skipped. The first is stability. Levels says JavaScript frameworks change so often that keeping code current takes real work, while his PHP stays the same and keeps running.4 David Heinemeier Hansson, who created Rails, makes the same point about what to learn: SQL and HTML learned in 1995 still pay off today, and a JavaScript build tool learned in 2012 is worth nothing now.25 The second is convention. Prefer a framework with one accepted place for each kind of code and one accepted way to do each common job. Conventions let a new engineer find things, and they help AI tools too.15

Database

The deciding question is the shape of your data. If it is about related things, where users have accounts, accounts have orders and orders have items, a relational database such as PostgreSQL or MySQL is built for it. Figma’s and Notion’s engineers have described how far one can go. In 2020 Figma was still running on a single Postgres database, on the largest machine AWS offered. When it later looked at other kinds of database to handle its growth, it stayed with Postgres, because its data model was relational and a switch meant rewriting most of the backend.19 Notion’s single Postgres database lasted five years and four orders of magnitude of growth before the company split it up in 2021.20

Paul Copplestone started Supabase after his previous company hit scaling limits on Firebase and he moved its data to Postgres.26 At the small end, Hansson says SQLite, a database that lives in a single file, is now good enough for smaller production apps.27

  • Paul CopplestoneCo-founder and CEO of Supabase

    He bet on Postgres because nobody owns it. Everyone contributes to it, every large cloud has to offer a good version of it, and so it keeps improving. He expects that to hold for decades.26 at 6:31

  • David Heinemeier HanssonCreator of Ruby on Rails, co-owner and CTO of 37signals

    SQLite has become a workable production database for smaller Rails apps. 37signals runs its Campfire product on it, and distribution, debugging and backups all got simpler.27

Treat the database as the one choice you will not get to make twice. McKinley counted a then-fashionable database as a full innovation token in 2015.2 Brandur, an engineer who spent five years at Stripe, wrote in 2022 that through years of rapid growth the company’s original database, main language and cloud provider had all stayed in place, because replacing any of them is so hard.28

Hosting, and what to buy

You have three broad options: a platform that deploys your code for you, your own setup on a large cloud provider, or a server you rent and manage yourself. The platform takes the least of your time. Levels claims the hosting platforms sold alongside popular frameworks cost many times what a plain server does.4 Andreessen Horowitz partners Sarah Wang and Martin Casado wrote in 2021 that for a new startup the cloud is the obvious choice, and that paying something extra for flexibility is worth it.21 Levels is the counterexample at small scale. He reported in September 2025 that Photo AI was taking in $150,000 a month with one person, running PHP and SQLite on a single rented server.29 Whichever you pick, answer these before you sign up:

  • Who gets woken up. If nobody on the team has run servers, pay a platform to do it.
  • What the bill is at ten times the use. Price it now, while the answer can still change your choice.
  • How you would leave. Read the contract length and check that you can export your data. 37signals had signed a four-year storage contract with AWS to get an acceptable price, and had to wait for it to end.22
  • Whether an AI agent can operate it. Blomfield had an AI model set up his hosting and DNS from the command line. Andrej Karpathy found that deploying his app, with settings spread across several services, was more trouble than writing it.1530

For everything else, buy what is not the reason customers choose you. Hu lists what a startup can rent today: login, payments, hosting, landing pages and a hosted database. She hears CTOs object that these services cost too much or will not scale, and her answer is that moving fast matters more at this stage.1 Joel Spolsky’s 2001 rule covers the other side: if something is a core function of your business, do it yourself, whatever it takes.16

The pull to build has grown now that AI writes code quickly. In the 2026 Stack Overflow survey, 18.6% of the 13,338 developers who answered a question about what they build said they were building tools to replace paid vendors. The survey’s authors add the catch: a bought tool comes with security compliance, uptime commitments and maintenance, and replacing it puts all three back on your team.7

What AI coding tools change

Much of the code at a new startup is now written with AI. In the 2026 Stack Overflow survey, 66% of respondents used AI coding assistants or agents at work.31 A quarter of the founders Y Combinator surveyed in its Winter 2025 batch estimated that more than 95% of their codebase was AI-generated.3233 Andrej Karpathy named the extreme form vibe coding in February 2025: you give in to the tool and forget that the code exists.34 That changes the stack decision in four ways.

  • Popular and conventional wins twice. Blomfield found the AI wrote Rails code especially well, and puts it down to twenty years of consistent public code. Friends of his had weaker results with Rust and Elixir.15 Developers in the 2026 survey reported using AI tools most with Python (39%) and JavaScript (38%).23
  • Simple beats clever. Levels says his plain PHP and jQuery code is well suited to AI coding because there is little in it for the model to get wrong.35
  • The tool may choose for you. An AI agent asked to build an app will pick a database and a host on its own. Copplestone says most new Supabase databases are now created by agents.26 Decide the stack yourself and write it into the agent’s instruction file, a practice Blomfield recommends.15
  • Tests and boundaries matter more. Blomfield warns that models change unrelated code, so he keeps files small, writes tests that click through the product from end to end, and commits working code before each new step.15
  • Tom BlomfieldPartner at Y Combinator, co-founder of Monzo

    The AI did best when writing Ruby on Rails. A 20-year-old framework with settled conventions means a large body of consistent code to learn from. Friends had weaker results in Rust and Elixir, where less code is public.15 at 13:05

  • Pieter LevelsFounder of Nomad List and Photo AI

    His plain codebase of PHP, JavaScript, jQuery and SQLite turns out to suit AI coding well. With nothing complicated in it, the AI makes fewer mistakes.35

  • Paul CopplestoneCo-founder and CEO of Supabase

    Supabase can measure that about 60% of its new databases are created by an AI agent, and he thinks the true share is closer to 90%.26 at 15:45

One thing has not changed. In the same survey, 48% of developers said they trust AI output when they can easily check it, and far fewer trust it beyond that.31 The founders in YC’s 2025 survey reported that the tools were poor at debugging, so a person still had to work out what the code was doing.32 Choose a stack that someone on the team can read line by line.

Before you commit

Run through this list with whoever will build the product.

Level 3 of 3

Done it before

For teams with users and a growing codebase: when to split the application, when to rewrite, what the cloud costs at scale, AI-written code, and what a buyer’s review looks at.

When to split the application

The reason to split is people, more than traffic. Fowler names sheer size as the biggest factor: a monolith too large for its teams to change and deploy.10 Hansson said in 2025 that one person can keep a system of a few hundred thousand lines of code in their head, and that some splitting can start to make sense past half a million.36 In a post that October he called replacing function calls with network calls the absolute last resort.37

Uber’s account from 2020 shows both sides. As it grew from tens of engineers to hundreds, one codebase tied every team’s fate together, and services let teams work on their own. At thousands of engineers the services became the problem. In one case, finding the root cause of a failure meant working through about 50 services owned by 12 teams.11

Four companies that changed their architecture, and why
CompanyStarting pointWhat they didWhat they reported
Shopify, 2019One Rails application, worked on by more than a thousand developers over a decade, with code for different business areas tangled together.38Kept one application and drew boundaries inside it, a design it calls a modular monolith.38More modular code without more systems to deploy.38
Segment, 2018More than 140 services, one for each integration.39Merged them into one service.3946 improvements to its shared libraries in the following year, against 32 before.39
Amazon Prime Video, 2023A video monitoring tool built from distributed serverless components.40Moved all components into a single process.40Infrastructure cost for that service fell by more than 90%.40
Uber, 2020About 2,200 microservices.11Began grouping them into 70 domains, each behind one gateway.11Time to bring a new feature onto a platform fell by 25% to 50%.11

The Prime Video engineers ended with a caution that applies to every row: whether to use microservices has to be decided case by case.40 The middle path is the one Shopify took.38 Blomfield predicted in 2025 that AI coding would push teams toward modular or service-based designs with clear interfaces, and away from very large codebases where every part depends on the others.15 This page’s own view is that boundaries inside one application give an AI tool the same defined edge, with no network between the parts.

When to rewrite, and when not to

The classic warning is Joel Spolsky’s from 2000. Netscape rewrote its browser from scratch and went almost three years without a major release while its market share fell. His argument is that old code holds years of fixes for real problems, and a rewrite throws those away and hands competitors the time it takes to rebuild them.41 The alternative is to replace the system piece by piece while it keeps running. Fowler calls this the strangler fig: new code grows around the old system and takes over one behavior at a time. He argues that the lower risk is worth the cost of the temporary code that lets old and new run together.42

Rewriting a part is normal. Hu’s startup rewrote much of its code several times as it grew, and she tells founders to rework what breaks under real demand after product-market fit, not before.1 Discord described in 2020 how it moved one service from Go to Rust because it could measure the problem: latency spikes about every two minutes, traced to how Go manages memory. The service was small and self-contained, and the authors added that nobody should rewrite everything in Rust for its own sake.17

AI has made rewriting cheaper. One founder in YC’s 2025 survey said that coding three times as fast had made him less attached to his code and readier to scrap it.32 The cost that has not fallen sits in what customers depend on. Hu kept her public interface stable through every rewrite.1 At Stripe, the database outlasted years of change in everything around it.28 Rewriting one part is a reasonable bet when all of these hold:

  • You can measure the problem, and it sits in that part.17
  • The part is small and has a clear edge.17
  • Tests describe what the old code does, so you can show the new code does the same.15
  • Old and new can run side by side while you switch.42

What the cloud costs once you scale

Hosting is cheap at the start and can become a large share of what it costs to serve customers. Wang and Casado found in 2021 that among public software companies that disclose it, committed cloud spending averaged 50% of cost of revenue. Practitioners told them that at scale the cloud can at least double the infrastructure bill.21

37signals has published the numbers of its own exit. Its cloud bill was running at $3.2 million a year. It bought about $700,000 of servers, moved seven applications onto them in 2023, and brought the bill down to $1.3 million in 2024. With storage included, it projects more than $10 million saved over five years.22 Dropbox saved nearly $75 million over 2016 and 2017, the two years before its IPO, mostly by moving workloads off the public cloud.21 While you are still small, keep the application portable and read contract lengths before you sign for a discount. Wang and Casado note that even the companies that moved the most kept 10% to 30% or more of their workloads in the cloud.21

The two voices below disagree about timing more than direction. Hansson argues that owning hardware is cheaper for a company of his size. Wang and Casado say to start in the cloud and treat the bill as a number the whole company watches. Hansson himself grants that a small amount of cloud capacity is cheap.3621

  • David Heinemeier HanssonCreator of Ruby on Rails, co-owner and CTO of 37signals

    37signals’ cloud bill was running at $3.2 million a year. The servers it bought to replace the cloud were paid for out of the savings within 2023, and 2024, the first clean year, came in at $1.3 million.22

  • Sarah Wang and Martin CasadoPartners at Andreessen Horowitz

    For a new company the cloud is the obvious choice and worth a premium for flexibility. The cost starts to hurt margins later, at scale, so plan early for the day you may move the heaviest workloads off it.21

AI-written code as the product grows

The YC partners who ran the 2025 survey drew a line between two stages. From nothing to a first product, speed is all that counts and AI-written code is a clear gain. From a working product to one that serves millions, the work becomes systems engineering, which they said the tools of the time did poorly, and it takes people who understand the whole system.32

Audits show what fast code generation leaves behind. Black Duck audited 947 commercial codebases between November 2024 and October 2025. The mean number of files per codebase was up 74% in a year, which the report attributes partly to AI-assisted development. License conflicts appeared in 68% of codebases, up from 56%, as the number of dependencies grew.43 Its companion paper on acquisitions found code that had entered codebases outside any package manager, including snippets produced by AI assistants.44

  • Andrej KarpathyFounding member of OpenAI, former director of AI at Tesla

    Vibe coding raises the floor: anyone can build something. Professional work is different. You may not ship security holes because an AI wrote the code, and you remain responsible for the software exactly as before.30 at 15:47

  • Garry TanPresident and CEO of Y Combinator

    Students tell him code will write itself, so they need not learn it. His answer is the opposite: knowing how to code gives you more power than ever, because you will be directing a large number of AI agents.45

  • Amjad MasadFounder and CEO of Replit

    Every time a higher level of programming arrived, people said it was too far from the machine to do good work, and each time they were wrong. What once counted as too high level, like C, is now called low level.46

  • David Heinemeier HanssonCreator of Ruby on Rails, co-owner and CTO of 37signals

    AI now lets 37signals’ designers work alone for long stretches. The code that comes out still has to be cleaned up if the codebase is to stay maintainable for years.47

A mainstream, well-documented stack is easier for an AI to write and easier for the next engineer to check. A line Karpathy cites with approval says you can hand off the thinking but not the understanding.30

What investors and acquirers look at

For the earliest stage, the guide is what Y Combinator’s partners told founders in 2023 talks: technology choices matter less than getting users, and a strong technical co-founder is essential.114

Later rounds and acquisitions can bring a formal review. Black Duck, which audits code for buyers, described it in a 2023 guide as covering how the team develops software, the quality and architecture of the code, the licenses of everything in it, and its security. A full review, it said then, typically takes two to three weeks.48

The findings are close to universal. In the acquisitions Black Duck audited in the year to October 2025, every deal’s software contained open source, at an average of 3,550 components per deal. 94% of deals had components with license conflicts, 97% had unpatched vulnerabilities, and 69% included open source with a customized license or none at all.44 In the wider set of 947 codebases, 92% contained components more than four years out of date.43

A review turns on whether you know what is in your product. Keep a current list of every open-source component and its license, keep dependencies patched, confirm in writing that the company owns the code its employees and contractors wrote, and be ready to explain why the system is shaped the way it is. License and ownership rules differ by country, so have a lawyer check yours.

Mistakes that repeat

  • Microservices on day one. The pattern was made for companies with very large engineering teams. Small teams that adopt it pay the cost without the benefit, and well-known teams have moved back.1239
  • Building for a scale you do not have. Hu calls it a trap to ask how Google would build your product. Her picture of the average technical founder is one who sets up heavy infrastructure for a product with no load.1
  • Résumé-driven choices. A tool gets picked because someone wants to learn it. McKinley’s example is early Etsy, which hired Python programmers, built a middle layer to give them something to do, and spent years removing it.2
  • An unusual language or database with no edge behind it. Collison jokes that his first company had an elegant design and no users.5 Graham’s Lisp bet worked because the founders knew the language and speed of development was their advantage.3
  • Outsourcing the build. Caldwell and Seibel said in 2023 that a development shop in place of a technical co-founder sharply raises the chance the company dies.14
  • Polishing before product-market fit. Hu lists too much fixing and refactoring, and too little shipping, among the common errors after launch.1
  • Ignoring the hosting bill. By the time cloud costs catch up with revenue growth, it is too late to plan a way out.21
  • Letting the AI tool pick. Agents now create most new databases at one large provider.26 Make the choice yourself and tell the tool.15

This page is general information, not legal or financial advice.

From my own experience

How I build: write it myself first, then let AI write it

Sahin Boydas

I am a CTO who became a founder, and I wrote the first code of most of my companies myself. I believe a founder has to be very good at the craft first.

At RemoteTeam the first version was not even automated. We made the payments by hand with some browser automation, and people thought it was a system.

I never believed in a finished MVP. I put a product out the moment it solves one or two things, then iterate.

Once customers use it, you learn that all your assumptions were wrong. On languages I stay with what Silicon Valley uses: JavaScript, Ruby, Python. I love Ruby on Rails for convention over configuration, and TypeScript changed the world.

Hiring follows from that. I look for self-taught people who learn really fast, switch context without complaining and have an iterative mindset.

The best are zero-to-one engineers. Leave them alone with a good idea and they can build a company by themselves.

Now the tools have changed. Programming went from assembly to C to Ruby and JavaScript, and the next phase is our own speaking language.

Every idea I have, I do a small vibe coding of it. Before any hire we ask: can we do this with AI?

After thousands of interactions with Claude, I was not getting the results I wanted. So I wrote strict rules: 78 files and 21,382 lines. Rules plus hooks turn it from a junior engineer into a senior one.

From:Kesişen Yollar (YouTube), April 2021Kodluyoruz session (Şahin Boydaş on YouTube), December 2021İnsan ve Anlam with Dr. Can Ceylan (YouTube), January 2022Startup Foundations podcast (Capbase), October 2022Founder Wisdom Podcast with Charles Cormier (YouTube), April 2025OhHello podcast (YouTube), May 2025Entrepreneurial Excellence Podcast, June 2025LinkedIn post, August 2025The Cost of It with Wajeeh Hussain (YouTube), October 2025

Watch

Tips For Technical Startup Founders | Startup School

Y Combinator · 28 min · YouTube

Diana Hu walks through what a technical founder builds at each stage, from a prototype in days to a product that has to scale. The middle of the talk covers how to choose a stack, what to rent, and when to rework code.

How To Get The Most Out Of Vibe Coding | Startup School

Y Combinator · 17 min · YouTube

Tom Blomfield shares the working habits that got him good results from AI coding tools: a written plan, tests, version control and small files. He also explains why the AI wrote one long-established framework better than newer languages.

Vibe Coding Is The Future

Y Combinator · 32 min · YouTube

Four YC partners go through a survey of the founders in their current batch on AI coding tools. They separate the stage where speed is everything from the stage where a product needs systems engineering.

David Heinemeier Hansson: Microservices vs. Monolith

CultRepo · 3 min · YouTube

The creator of Rails explains in under three minutes why microservices solve a problem of very large organizations. He argues that a team of up to a hundred developers is better off with one application.

Posts and short clips

  • Pieter Levels on why a simple stack suits AI codingX · Pieter Levels

    The solo founder says his basic codebase of PHP, jQuery and SQLite works well with AI coding tools. His reason is that there is nothing complicated in it for the AI to get wrong.

  • DHH on the monolith for most web appsX · DHH

    Hansson says one application is still the right design for the large majority of web products. He treats turning function calls into network calls as a last resort.

  • Garry Tan on AI-generated code in a YC batchX · Garry Tan

    The head of Y Combinator reports that AI models wrote 95% of the code at one in four companies in the Winter 2025 batch. He presents it as the arrival of a new way of building software.

  • Garry Tan and Amjad Masad on learning to code with AIInstagram · Startup Archive

    Tan tells students that knowing how to code matters more now that one person can direct many AI agents. Masad adds that the return on learning even a little code keeps rising as the tools improve.

Questions founders ask

What is the best tech stack for a startup?
The one your team has already shipped a product with. Diana Hu of Y Combinator tells founders to choose technology for how fast it lets them change the product, and not to pick a language in order to learn it.1 If nothing else decides it, the widely used options are safe: JavaScript was the most used language and PostgreSQL the most used database in the 2026 Stack Overflow survey.7
Should a startup use microservices?
Not at the start. Martin Fowler observed in 2015 that the microservice successes he knew of had nearly all begun as one application, and that systems designed as microservices from day one tended to run into serious trouble.9 Uber, which ran about 2,200 microservices by 2020, wrote that in a small organization the benefit probably does not offset the added complexity.11
Which database should a startup use?
Start from the shape of your data. If it is about related things, such as users, accounts and orders, a relational database is built for it, and PostgreSQL is the most used one: 57.9% of the 12,061 developers who answered in the 2026 Stack Overflow survey had used it in the past year.7 Figma and Notion both report that one Postgres database carried them for years. Figma was still on one in 2020, and Notion’s lasted five years before the company split it up.1920
Do investors care about your tech stack?
Y Combinator’s partners told founders in 2023 talks that early on technology choices matter less than getting users, and that a strong technical co-founder is essential.114 In later rounds and acquisitions a formal review looks at code quality, architecture, security and open-source licenses, and in Black Duck’s 2025 audits 94% of deals had components with license conflicts.4844
When should you rewrite your codebase?
Almost never all at once. Joel Spolsky’s 2000 essay describes how Netscape’s rewrite from scratch left it almost three years without a major release.41 Replace one part at a time while the system keeps running, and only where you can measure the problem, as Discord did with a single service.4217
Does AI coding change which stack to choose?
It strengthens the case for popular, conventional tools. Tom Blomfield of Y Combinator found AI wrote a 20-year-old framework better than newer languages with less public code, and developers in the 2026 Stack Overflow survey used AI tools most with Python and JavaScript.1523 You still need to read what it writes: 48% of developers in that survey trust AI output when they can easily check it.31
Should a startup use the cloud or its own servers?
Start in the cloud. Andreessen Horowitz’s 2021 analysis calls it the obvious choice for a new company and says the cost becomes a problem later, at scale.21 Look again when the bill is large and the workload is steady: 37signals reported in 2024 that it had cut a $3.2 million yearly cloud bill to $1.3 million by moving to its own hardware.22

Read next

The best pages elsewhere

Sources

  1. Tips For Technical Startup Founders | Startup School. Y Combinator (YouTube), 2023.
  2. Choose Boring Technology. Dan McKinley, 2015.
  3. Beating the Averages. Paul Graham, 2001.
  4. Pieter Levels: Programming, Viral AI Startups, and Digital Nomad Life | Lex Fridman Podcast #440. Lex Fridman (YouTube), 2024.
  5. Stripe’s Patrick Collison on AI agents, software customizability, and who should build tools. Retool, 2025.
  6. Michael Seibel - How to Plan an MVP. Y Combinator (YouTube), 2019.
  7. Technology 2026 | Stack Overflow Developer Survey. Stack Overflow, 2026.
  8. What Powers Instagram: Hundreds of Instances, Dozens of Technologies (archived copy). Instagram Engineering, 2011.
  9. Monolith First. Martin Fowler, 2015.
  10. Microservice Premium. Martin Fowler, 2015.
  11. Introducing Domain-Oriented Microservice Architecture. Uber Engineering, 2020.
  12. David Heinemeier Hansson: Microservices vs. Monolith. CultRepo (YouTube), 2023.
  13. Monoliths are the future. Changelog (Kelsey Hightower on Go Time #114), 2020.
  14. How To Build A Tech Startup With No Technical Skills. Y Combinator (YouTube), 2023.
  15. How To Get The Most Out Of Vibe Coding | Startup School. Y Combinator (YouTube), 2025.
  16. In Defense of Not-Invented-Here Syndrome. Joel on Software, 2001.
  17. Why Discord is switching from Go to Rust. Discord, 2020.
  18. Web frameworks and technologies — Technology data 2026 | Stack Overflow Developer Survey. Stack Overflow, 2026.
  19. How Figma’s databases team lived to tell the scale. Figma, 2024.
  20. Herding elephants: Lessons learned from sharding Postgres at Notion. Notion, 2021.
  21. The Cost of Cloud, a Trillion Dollar Paradox. Andreessen Horowitz, 2021.
  22. Our cloud-exit savings will now top ten million over five years. David Heinemeier Hansson (HEY World), 2024.
  23. Stack Overflow’s 2026 Developer Survey Reveals Positive Sentiment Towards AI — but Trust Remains Conditional. Stack Overflow, 2026.
  24. The Python Paradox. Paul Graham, 2004.
  25. Fireside Chat with DHH, Matz and Tobias Lütke - Rails World 2024. Ruby on Rails (YouTube), 2024.
  26. How Supabase Became One Of The Fastest Growing DevTool Companies In The World. Y Combinator (YouTube), 2026.
  27. Post of April 21, 2024: SQLite as a production database for smaller Rails apps. DHH on X, 2024.
  28. The disproportionate influence of early tech decisions. brandur.org, 2022.
  29. Post of September 24, 2025: Photo AI’s revenue, team size and stack. Pieter Levels on X, 2025.
  30. Andrej Karpathy: From Vibe Coding to Agentic Engineering w/ Stephanie Zhan. Sequoia Capital (YouTube), 2026.
  31. AI 2026 | Stack Overflow Developer Survey. Stack Overflow, 2026.
  32. Vibe Coding Is The Future. Y Combinator (YouTube), 2025.
  33. Post of March 5, 2025: AI-generated code in the Winter 2025 batch. Garry Tan on X, 2025.
  34. Post of February 2, 2025: a new kind of coding called vibe coding. Andrej Karpathy on X, 2025.
  35. Post of July 15, 2025: a simple codebase suits AI coding. Pieter Levels on X, 2025.
  36. DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting | Lex Fridman Podcast #474. Lex Fridman (YouTube), 2025.
  37. Post of October 23, 2025: the monolith for most web apps. DHH on X, 2025.
  38. Deconstructing the Monolith: Designing Software that Maximizes Developer Productivity. Shopify Engineering, 2019.
  39. Goodbye Microservices: From 100s of problem children to 1 superstar. Twilio Segment, 2018.
  40. Scaling up the Prime Video audio/video monitoring service and reducing costs by 90%. Prime Video Tech (archived copy), 2023.
  41. Things You Should Never Do, Part I. Joel on Software, 2000.
  42. Strangler Fig. Martin Fowler, 2024.
  43. 2026 Open Source Security and Risk Analysis Report. Black Duck, 2026.
  44. 2026 Open Source Risk in M&A by the Numbers. Black Duck, 2026.
  45. Garry Tan and Amjad Masad on why learning to code matters more with AI (reel), clipped from Y Combinator’s Lightcone episode “Now Anyone Can Code: How AI Agents Can Build Your Whole App”, October 18, 2024. Startup Archive on Instagram, 2024.
  46. Amjad Masad on rising levels of abstraction in programming (reel), clipped from the Moonshots podcast, episode 196, September 23, 2025. Peter H. Diamandis on Instagram, 2025.
  47. Post of April 11, 2025: cleaning up AI-written code. DHH on X, 2025.
  48. Software due diligence for PE & VC investors. Black Duck, 2023.