Ai Coding Tools

How to Use AI Coding Assistants to Write Your First 100 Lines of Code in 30 Minutes

By BTW Team4 min read

Comparing tools? See the AI tools tested on the show.

In short

A practical guide for beginners to leverage AI coding tools in creating a simple codebase rapidly.

As a beginner in coding, the biggest hurdle often isn't the syntax or logic - it's simply getting started. You might feel overwhelmed by the vast array of tools, languages, and frameworks. But what if I told you that with the help of AI coding assistants, you can write your first 100 lines of code in just 30 minutes? In 2026, these tools have matured, making it easier than ever for indie hackers and solo founders to dive into coding. Let’s break down how you can leverage these AI assistants effectively.

Prerequisites: What You Need Before You Start

  • Basic Computer Setup: A laptop or desktop with internet access.
  • Programming Language: Choose a beginner-friendly language like Python or JavaScript.
  • AI Coding Assistant: Sign up for one of the AI coding tools listed below.

Step-by-Step Guide to Writing Your First 100 Lines of Code

  1. Choose Your AI Coding Assistant:

    • Select one from the list below based on your needs and budget.
  2. Set Up Your Development Environment:

    • Use a code editor like Visual Studio Code or an online environment like Replit.
  3. Start a New Project:

    • Create a new file for your project. If using Python, name it main.py.
  4. Define Your Project Goal:

    • Decide on a simple project. For instance, a basic calculator or a to-do list app.
  5. Use the AI Assistant:

    • Start typing a comment that describes what you want to achieve (e.g., “Create a function to add two numbers”).
    • Let the AI generate the code for you. Review and edit as necessary.
  6. Iterate and Expand:

    • Keep using the AI to add features (e.g., “Add a function to subtract numbers”). Aim to reach 100 lines of code.
  7. Test Your Code:

    • Run your code to see if it works as expected. Debug any issues.
  8. Finalize Your Project:

    • Clean up your code, add comments, and make sure everything is functioning.

Tool Comparison: AI Coding Assistants

| Tool Name | Pricing | Best For | Limitations | Our Take | |----------------------|----------------------------|---------------------------------|------------------------------------|-------------------------------| | GitHub Copilot | $10/mo | Code completion and suggestions | Limited to supported languages | We use it for quick snippets. | | Tabnine | Free tier + $12/mo pro | Autocomplete and code snippets | Less effective for complex logic | Great for JavaScript projects. | | Codeium | Free | General coding assistance | May lack advanced features | Our go-to for quick tasks. | | Replit | Free tier + $20/mo pro | Collaborative coding | Performance drops with large apps | Perfect for quick prototypes. | | Amazon CodeWhisperer | $19/mo | AWS-based projects | AWS dependency | We don’t use it because of cost. | | Kite | Free | Python code suggestions | Limited language support | Handy for Python beginners. | | Sourcery | Free + $10/mo premium | Code review and refactoring | Limited to Python | We use it for improving code quality. | | Codex | $0-100/mo | Advanced coding tasks | Learning curve for beginners | Powerful but complex. | | Ponic | $25/mo | Game development | Niche use case | We don’t use it because of niche focus. | | DeepCode | Free | Code quality analysis | Limited to certain languages | Useful for reviewing code. |

What We Actually Use

In our experience, we primarily use GitHub Copilot for its robust autocomplete features. Tabnine is a close second for JavaScript projects, while Replit shines for collaborative efforts.

Conclusion: Start Here

If you're looking to write your first lines of code, start with GitHub Copilot or Tabnine. They provide a low barrier to entry and can significantly accelerate your learning process. Set aside 30 minutes, choose a simple project, and let the AI guide you through your first 100 lines. You might be surprised at how quickly you can build something functional!

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools
Ai Coding Tools

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them)

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them) In the everevolving landscape of AI coding tools, it's easy to get swept up in the hype. As indie hackers and s

Nov 30, 20263 min read
Ai Coding Tools

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026 In 2026, the landscape for indie hackers and solo founders has evolved significantly, especially with the advent

Nov 26, 20264 min read
Ai Coding Tools

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026 If you’re a developer stuck maintaining legacy code, you know the frustration. It’s like navigating a maze blindfolde

Nov 23, 20264 min read
Ai Coding Tools

10 AI Coding Tools That Will Save You Hours of Debugging in 2026

10 AI Coding Tools That Will Save You Hours of Debugging in 2026 Debugging can feel like a neverending cycle of frustration. Whether you're a solo founder or an indie hacker, spend

Nov 18, 20265 min read
Ai Coding Tools

10 Common Mistakes When Using AI Coding Tools for MVP Development

10 Common Mistakes When Using AI Coding Tools for MVP Development As a founder in 2026, you’re likely aware that AI coding tools can significantly speed up the MVP development proc

Nov 16, 20264 min read
Ai Coding Tools

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026 As a beginner developer, you’ve probably come across a ton of buzz surrounding AI coding tools. But with all the hyp

Nov 12, 20263 min read