Is coding a Sprint or a Marathon?
Tags: programming, beginners, career, productivity
Published: 2020-04-15 04:14:05

---
title: Is coding a Sprint or a Marathon? 
published: true
description: code faster and harder, never stop, never rest. or maybe you should really take the chance to take your time? 
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/axy7djhcgczfneg7hy9h.jpg
tags: #programming, #beginners, #career, #productivity
---

Monday afternoon, you are working on your ticket which was planned for _about_ a week (I know that with T-shirt sizes there is not direct reference to hours/days - or should not be - but... when you have a pile of things to do, who does not convert the effort in the time it will take?)
Let's say the estimate has been quite loose, accomodating, the task seemed quite easy to everyone but there were some unknowns, so some buffer was added and the highest number on the [poker cards](https://dev.to/dvddpl/do-you-play-planning-poker-4f9f) was approved.

The sprint will end on [Wednesday](https://const.fr/blog/agile/scrum-the-perfect-day-to-start-a-sprint/) and you will be surely done tomorrow. Or not.  **_That_ depends on you.**

In a previous post I was telling about [the bad habit of saying _"I am almost done"_](https://dev.to/dvddpl/please-be-professional-and-stop-saying-i-m-almost-done-n49) during Stand-ups or Status Update Meeting (and the fact that most of the time, when you say that, you end up inevitably NOT meeting the deadline, for one reason or another).

So if you think you are done with your ticket, before the estimated time, what should you do?

![slack off, sit back and relax](https://media.giphy.com/media/L4U2oUoKjwKL0RTYmy/giphy.gif)

Well... not really.

If you see that there are other tickets pending, that would not make it within the sprint ( or that could delay the delivery), it could be a good idea to grab them and work on them, wouldn´t it?

![go back to work, slacker](https://media.giphy.com/media/Q81NS6GFfrdHbldk7P/giphy.gif)

Slacking off, or stressing out trying to work faster and faster are the two extremes. What I´d like to point out here is finding the right balance. That is being proactive, working hard, but also taking your time. 

![Just take your time](https://media.giphy.com/media/l2Je29slxIXe1xaEw/giphy.gif)

### What does it mean, take your time?
Should you slow down, on purpose, to not let your agile-coach/pm find out you will be soon without a ticket?
Of course not.

But if an estimate was done properly, the sprint was planned properly, and you have some time left  - instead of rushing into the next ticket - you could spend more time on the same task, to test it even more thoroughly, you could **read more the documentation of the library you used** to achieve the task, you can think of more edge-cases for which you might need more unit tests, or you can simply reason about possible improvements (write them done somewhere and bring them up the next sprint planning), or you can summarize the challenges and the learning out of that ticket and prepare a Show&Tell or small presentation for your colleagues

Eventually, but ask your lead beforehand - you could even take those couple of hours to **watch that online course about AWS** you subscribed, but never completed. 

![go back to work, slave!](https://media.giphy.com/media/3orif1FICBYgRwNWCc/giphy.gif)

Nobody is there with a whip shouting at you to be quicker. And even if there was ( and I hope is not ) now that you have some buffer, take that opportunity, don't do yourself harm.

### Don´t lie, don´t cheat, but be smart.

We developers are always complaining that **we do not have the time to code how we wanted**, that **we have to sacrifice quality to deliver on time**, that **management does not care about technical debt** - and then when we have time left we don't take it (and make good use of it).

Take your time, use the time you have.  
> It's called a Sprint, but it will pay off in the long run.


---
Photo by [Braden Collum](https://unsplash.com/@bradencollum?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on Unsplash