DEV Community

Cover image for Why I Check Every Ticket Before Writing Code (And You Should Too)
Tim Lorent
Tim Lorent

Posted on

Why I Check Every Ticket Before Writing Code (And You Should Too)

A simple checklist that saved a developer from wasting hours on impossible scope


The Message That Made My Day

"Yes, I applied the ticket checklist and I immediately communicated to my PO that something was not possible and that we should resize the ticket 🎉"

This message hit my inbox yesterday.

A developer read my book, grabbed the Ticket Checklist, and applied it to their next feature. Within minutes, they spotted something: a requirement in the ticket couldn't be done the way it was scoped.

Instead of diving into code and discovering this halfway through (or worse, during code review), they caught it upfront. They messaged their Product Owner, explained the blocker, and got the ticket resized—before writing a single line of code.

This is what good systems do.

They don't slow you down. They save you from wasted work.

Why Most Developers Skip Planning

Here's what usually happens:

You get assigned a ticket. You read the description. Maybe glance at the designs. Then you open your editor and start coding.

Three hours later, you hit a wall:

  • The API endpoint you need? Not ready yet.
  • That edge case you didn't consider? Breaking everything in QA.
  • The scope that seemed clear? Actually vague and missing critical details.

So you backtrack. Rewrite code. Ping people in Slack. Wait for answers.

You've just wasted hours you'll never get back.

Most developers do this because planning feels like extra work. You want to build, not sit around asking questions. You feel pressure to show progress.

But let me tell you: 5 minutes of planning saves hours of rework.

The Ticket Checklist (What Actually Matters)

Before I write any code, I ask four questions:

1. What's the actual scope?

  • What are we building, specifically?
  • What's explicitly out of scope?
  • Are there dependencies on other teams or features?

If I can't explain the ticket in one clear sentence, it's not ready yet.

2. Are designs ready?

  • Are designs finalized, or will they change?
  • What happens on mobile? Tablet? Small screens?
  • Are there edge cases the designs don't show?

Designs that "look done" often have gaps. I check first.

3. Are there dependencies or API blockers?

  • Is the backend ready, or do I need to mock data?
  • Are endpoints documented?
  • What's the expected response structure?

Nothing kills momentum like discovering the API isn't ready halfway through development.

4. What edge cases might break this?

  • What happens if data is missing?
  • What if the user does something unexpected?
  • Are there permission or role considerations?

Edge cases are where bugs hide. Thinking about them early means fewer surprises later.

How to Start Using This

You don't need a fancy system. Just try this:

  1. Pick your top 2 pain points: If you often hit API blockers, focus on dependencies. If designs change mid-development, focus on design readiness.

  2. Apply it to your next ticket: Before opening your editor, spend 5 minutes answering those questions.

  3. Adjust based on your context: Agency work? Focus on scope and deadlines. Product team? Focus on long-term maintainability.

The Deeper Lesson

This isn't really about checklists.

It's about thinking like a senior developer.

Juniors see a ticket and think: "How do I code this?"

Seniors see a ticket and think: "What could go wrong, and how do I prevent it?"

They don't code faster. They waste less time.

They anticipate problems, ask clarifying questions upfront, and communicate proactively. They own outcomes, not just tasks. The checklist trains that muscle!

You're Not Being Slow—You're Being Smart

A 5-minute checklist prevents:

  • Hours of rework
  • Scope surprises mid-development
  • Tense conversations with your PO
  • Code that doesn't meet expectations

And it builds trust. Your team sees you're thinking ahead, asking good questions, and taking ownership. That's what separates good developers from great ones.


What's one question you wish you'd asked before starting your last feature? Drop it in the comments—I'd love to hear what trips people up most.

If you want the full Ticket Checklist (plus 9 other practical frameworks), I explore them in From Hello World to Team Lead. The systems are built for real work, not tutorials.

Top comments (7)

Collapse
 
itsugo profile image
Aryan Choudhary

Really helpful read, I’m still early in my dev journey and this is the first time the purpose of “tickets” actually clicked for me.

I’d overhear people talk about tickets (even my dad during work calls lol) but I never understood how they guide development beyond “tasks.”

The checklist makes it clearer that tickets are less about coding instructions and more about making sure the problem is well-defined before starting.

Especially loved the idea that seniors ask “what could go wrong?” upfront; that mindset alone feels like a huge time-saver.

Thanks for breaking it down so practically!

Collapse
 
tlorent profile image
Tim Lorent

@itsugo I'm glad it helped you! Fun to hear about your dad, is he also a developer like mine?

Indeed, thinking about the "unhappy paths" before starting to code has saved me and a bunch of mentees a lot of trouble down the line!

Collapse
 
itsugo profile image
Aryan Choudhary

Haha yeah, he’s a developer too, been in the industry for years, so I’ve grown up overhearing a lot of tech talk without really getting it...
Posts like yours are helping me finally connect the dots between what I used to overhear and how real workflows actually run. Appreciate it!

Thread Thread
 
tlorent profile image
Tim Lorent

Sounds a lot like my childhood then! I used to see 2-3 screen full of code every day (he worked from home). As a teenager I rebelled against it and only realized how cool coding is.

Thread Thread
 
itsugo profile image
Aryan Choudhary

Haha same here! I’d see him working for hours and never understood what the excitement was about, until I started coding myself... and yeah now I get it. (ˉ▽ˉ;)...

Collapse
 
roshan_sharma_617a6e70ff5 profile image
Roshan Sharma

Love this mindset. Senior Devs don’t code faster, they plan better.

Collapse
 
tlorent profile image
Tim Lorent

@roshan_sharma_617a6e70ff5 You got it! And I honestly think that in the end the planning will even make you code faster, but this time by making less mistakes.

Some comments may only be visible to logged-in visitors. Sign in to view all comments.