Ai Coding Tools

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

By BTW Team4 min read

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

In short

A step-by-step tutorial on leveraging AI coding assistants to write and refine your first 100 lines of code within an hour.

Starting your coding journey can feel daunting, especially when you stare at a blank screen wondering where to begin. The good news? AI coding assistants can help you write your first 100 lines of code faster than you might think. In 2026, these tools are more powerful and accessible than ever, making coding more approachable for solo founders and indie hackers.

Why Use AI Coding Assistants?

If you're new to coding, you might wonder why you should consider using AI tools. The reality is that AI coding assistants can significantly reduce the time it takes to write code, provide instant feedback, and help you learn as you go. They can suggest code snippets, identify errors, and even explain concepts in real-time. But with so many options, which ones are worth your time and money?

Prerequisites Before You Start

Before diving in, you’ll need a few things:

  • Basic understanding of programming concepts: Knowing what variables, loops, and functions are will help you get the most out of these tools.
  • An IDE or code editor: Popular choices include Visual Studio Code (VS Code), IntelliJ, or even a simple text editor.
  • An account with your chosen AI coding assistant: Many offer free tiers, but some features may require a subscription.

Time Estimate

You can finish your first 100 lines of code in about 2-3 hours using AI coding assistants, depending on your familiarity with coding concepts.

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

  1. Choose Your AI Coding Assistant: Pick one from the list below based on your needs.
  2. Set Up Your Environment: Install your IDE and create a new project.
  3. Start Coding:
    • Begin with a simple project idea (e.g., a to-do list app).
    • Use the AI assistant to generate code snippets. For example, ask it for a function to add a task.
  4. Review and Edit: Look at the code generated. Make adjustments as necessary.
  5. Test Your Code: Run your code frequently to see if it works as expected.
  6. Iterate: Keep adding features or refining your code, using the AI for suggestions.

Troubleshooting

  • Error Messages: If you see an error, copy it into your AI assistant to get immediate help on how to fix it.
  • Code Doesn’t Work as Expected: Review the logic and ask the AI to explain what each part does.

Top AI Coding Assistants in 2026

Here’s a breakdown of popular AI coding assistants that can help you write those first 100 lines of code:

| Tool Name | Pricing | Best For | Limitations | Our Take | |-------------------|-----------------------------|------------------------------|-----------------------------------------|-------------------------------------| | GitHub Copilot | $10/mo, no free tier | JavaScript, Python | Limited language support | We use this for quick snippets. | | Tabnine | Free tier + $12/mo Pro | Multiple languages | Pro version required for advanced features | We don’t use it due to limitations. | | Replit AI | Free, $20/mo for Pro | Learning and prototyping | Can be slow for larger projects | Great for beginners. | | Codeium | Free, $19/mo for Pro | General coding assistance | Limited to certain IDEs | We’re testing it out. | | Sourcery | Free, $9/mo for Pro | Python code optimization | Not suitable for non-Python languages | We don’t use it because it’s too niche. | | OpenAI Codex | $0 for basic usage, $20/mo for Pro | Advanced coding tasks | Requires understanding of prompts | We use this for complex queries. | | Ponicode | $15/mo, no free tier | JavaScript unit tests | Focused on testing only | We don’t use it for general coding. | | Codex AI | $5/mo, limited features | Quick code generation | Less customizable | We’re experimenting with it. | | IntelliCode | Free with Visual Studio | C# and .NET | Limited to Microsoft ecosystem | We use it for C# projects. | | CodeGuru | $19/mo, no free tier | AWS-related coding | Limited to AWS ecosystem | We don’t use it unless on AWS. |

What We Actually Use

In our experience, GitHub Copilot and OpenAI Codex are the most versatile tools for beginners. They provide the best balance of ease-of-use and functionality for writing your first 100 lines of code.

Conclusion: Start Here

If you’re just starting out and want to write your first 100 lines of code, I recommend beginning with GitHub Copilot. Its integration with popular IDEs and straightforward pricing makes it an excellent choice for indie hackers and side project builders alike. Remember, the goal is to learn and iterate, so don’t hesitate to experiment with different tools to find what works best for you.

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