Straight up disclaimer: This isn’t about being a parent. It’s about being a software developer, so stick with me here ­čÖé

3 years ago, things changed. For the better. I became a father. Being that this was my first child, you can bet there was a lot of apprehension. I’d never even been around a new born for more than a few minutes, and now I was partly responsible for keeping one alive. Things got intense.

Fast forward a few years and things are very different. Sleeping habits, schedules, meals…all that stuff is just a variable. Every day is different. We never know what’s going to happen that day. All this instability has taught me a few things though. These few things, after some time to reflect, prove to be very important in my life as a career software developer though…and today, you get to benefit from my sleepless nights with kids.

Write smaller, single-use functions

Since time is valuable, and there is no shortage of distractions, writing small functions that do one thing, and are easy to read are crucial to success. Kids or not, you have enough distractions in your life that pull your attention away from the project you are working on.

Keeping things small and concise┬ámeans you can quickly write complete sets of functionality, rather than a large function that, if you step away from, you’ll get lost in.┬áThis isn’t just about time management either, functions that do one thing, are easier to write unit tests for.

Budget time for short breaks

Trying to sit down for 8 hours solid and write code just simply isn’t attainable. Not even without diaper changes and family lunch time. Focusing on a single task for that long takes it’s tole on you mentally and physically. I typically find that stepping away from my desk for a quick 5-10 minute break every 60-90 minutes helps with my focus and energy levels. Refill your coffee, take a bathroom break, change a diaper, or just walk around the building once.

The key here is, your mind doesn’t stop thinking about work, but you’re removing yourself from the ability to sit down and write code. This causes your brain to have to think abstractly, which helps you work things out logistically in your head, before going further with your development process. For more information on this type of time management, you should check out the Pomodoro Technique┬áwhich uses a similar concept.

Consistency Matters

Consistency in the way you name functions, variables, classes, and files is critical to any developers success. In your issue management labels and processing, and in your commit messages. Just keeping things consistant, you reduce your┬á‘spin up’ time when changing focus, which is more efficient. By using similar patterns in your code, it allows you┬áto┬áanticipate function names, classes, and where code is. You can see a little more on this topic in my slides from a presentation I did at a local developer meetup:

It’s all about time management

As I said in the ‘disclaimer’…it’s about development, not parenting. Parenting just urged these work habits onto me in a way I didn’t expect, but with results that I found were a net positive in my work flow. Obviously parenthood and life changes look different on every person, but I think if you take a step back and try and make your work life┬áflow┬áwith your work style, you’ll be much more productive and happy with the work you are doing.

What is your go-to method of keeping yourself on task, and productive in the midst of distraction?

Posted by Chris Klosowski

Chris Klosowski is the Director of Technology at Sandhills Development, LLC, creators of fine WordPress plugins, and ecommerce solutions.


  1. These are some really great ideas and what a cute backdrop of being inspired by parenting. Well, from my desk and solid sleep schedule, anyway. (!)

    You are so right and lately I have been working on writing shorter and shorter functions. At the very least choose one area to be fat (models perhaps) and the other for high readability – skinny controllers in my case.

    The tip I want to add is using a timer. This sounds incredibly mundane, but when you are staring down some work that every fiber of your being doesn’t want to dig into? *Set a timer for 5, 10, or 15 min.*

    It is so much easier when you get into it, and realize that even the least desirable tasks are going to be over in 15. I’ve been able to effectively train my brain to quit whining and just do it already.


    1. Chris Klosowski July 19, 2017 at 9:25 am

      You’re right in that sometimes its easier to do the DRY (Don’t repeat yourself) methods in small chunks than all at once, but starting somewhere is the key.

      Great suggestion Lauren. That’s part of the Pomodoro technique too, they encourage that short timeframe technique to help the work not seem so ‘overwhelming’.

      Cheers, Lauren!


  2. Hello to all, the contents present at this site are in fact amazing for people experience, well, keep up the
    nice work fellows.


  3. An impressive share! I’ve just forwarded this onto a colleague who has been conducting a little research on this.

    And he actually bought me breakfast due to the fact that I stumbled upon it for
    him… lol. So let me reword this…. Thanks for the meal!!
    But yeah, thanks for spending time to discuss this issue here
    on your website.


  4. I’m amazed, I have to admit. Seldom do I encounter a blog that’s both educative and entertaining, and without a doubt, you’ve hit the nail on the head.
    The problem is something that too few people are speaking intelligently about.
    I’m very happy I found this during my search for something concerning this.


  5. you are best, very nicee blog your amazing site.


  6. yoou are best, very nicee blog your amazing site.


  7. yoou are best, very nicee blog yyour amazing site.


  8. your articles are very goodd and your blog site is really good


  9. your articles are very good and your blog site iss really good


  10. I am sure this article has touched all the internet people, its
    really really nice post on building up new weblog.


  11. Misty Patchett August 4, 2021 at 5:54 am

    cialis on line cialis 50 mg online medication cialis


  12. free samples of levitra levitra dosage options otc levitra


  13. Hello there, I discovered your web site by the use of Google whilst looking for a comparable subject, your web site got here up, it looks great. I have bookmarked it in my google bookmarks.


  14. Charles Dangelo August 4, 2021 at 8:15 am

    viagra sales sildenafil price 100mg viagra online


  15. Hi! Someone in my Facebook group shared this website with us so
    I came to give it a look. I’m definitely loving the
    information. I’m bookmarking and will be tweeting this to my
    followers! Outstanding blog and superb style and design.


  16. careprost vs latisse reviews cheap careprost from india buy careprost from canada


  17. Ahaa, its pleasant discussion about this paragraph at this place at this webpage, I have read all that,
    so at this time me also commenting here.


  18. Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something
    like this. Please let me know if you run into anything.
    I truly enjoy reading your blog and I look forward to your
    new updates.


  19. Ahaa, its pleasant discussion about this article here at this weblog, I have read all that, so
    at this time me also commenting here.


Leave a reply

Your email address will not be published. Required fields are marked *