Home 2022 Coding stats
Post
Cancel

2022 Coding stats

Audience for this post: software developers

I’m writing this post on my phone backstage at Seatle Symphony on the last night of 2022. I’m here to sing in the chorus in Beethoven’s 9th symphony for the New Year concert. So first off, let me wish you a very Happy New Year and thanks for staying subscribed despite the lack of content! One of my New Year resolutions for 2022 was to start Blogging again which clearly hasn’t gone so well; I hope you’ve had better luck with your goals and resolutions for the year.

Over the course of the last 12 months I have been doing a ton of work with Kubernetes and microservices and I’m hopeful that the fruits of those labors will be manifested in blog posts over the course of 2023. We will see how that goes; stay subscribed to find out and / or follow me on in the fediverse on hachyderm: https://hachyderm.io/@clarkezone

Wakatime

How much coding did you do this year? Do you know what you worked on? Did you have any particular goals you were aiming for and did you neet them? These were questions that I always wondered about at this time of year but never had very specific answers to until I started using Wakatime. Now I have a dashboard to consult as well as an annual summary which just showed up in my inbox for 2022:

Summary

I like Wakatime because it unobtrusively integrates with most popular editors I use (including terminal mode VIM) and tracks activity on a fairly granular basis so I can get a breakdown of editors, languages projects I’ve been working on etc. During 2022 I started paying for Wakatime pro for the second time as they appear to have fixed ARM compatibility finally.

2022 Insights

At a high level

  1. I’ve been focussed on microservices and golang is my top language
  2. The totals are a bit skewed due to large amount of YAML infra work
  3. I didn’t do as much .NET 7 / Rust dev as planned.
  4. I started a bunch of small opensource projects but didn’t contribute to anything big
  5. I’m pretty much a Linux dev these days

Languages

Language Summary

Editors

Editor Summary

OS

OS Summary

Cloudnative Golang

To unpack the above a bit, my current focus at work is cloud native kubernetes so golang targeting k8s on linux is what my team at work is using and hence what I want my forus to be on. For the projects I’ve been building, I could have picked golang or dotnet and my choice was deliberate as a forcing function to brush up on Go. I’ve been taking the opportunity to do more than kick the tires by going deeper and building some production services end-to-end, including getting familiar with common patterns and libraries. Overall, I like the relative simplicity of the language, excellent tooling and overall consistency. I’ve read a number of books previously, this year’s title (which I can highly recommned by the way) was:

Cloud Natiev Go

One last tidbit on golang if you are a dotnet developer. There was a pretty good episode on Go for dotnet devs on the Unhandled Exception podcast on this topic with Joseph Woodward. A lot of Joseph’s experiences mirror my own and hence if you have any interest I highly recommend giving this a listen.

All the infra

On the infra side, I’ve been doing a ton of learning in the cloud native domain, building out several k3s clusters on bare metal, diving in to k8s storage, cluster observability, continuous profiling etc. The stats bare witness to this with YAML being the “Language” I’ve spent the second largest amount of time in (as well as Makefile, Docker).

My learning here is that, in general, there is still a massive opportunity for better tooling in cloud native, particularly for working with YAML manifests in the kubernetes domain from validation, to refactoring and general power tooling. Right now, despite VSCode extensions, it is painful and takes way too much time. I hope I don’t spend 141 hours munging YAMl in 2023!

To learn more and start to try and help myself elimiate a repetitive task I found myself doing again and again (converting a manifest set to using kustomize), I did some early work on a refactoring tool to create kustomize flavored k8s manifests layered for staging, production etc from vanilla manifests but didn’t get that project to critical mass yet.

BTW, if you know of any helpful tooling here, would love to hear about it (in the comments or on twitter / fedi)!

Misses for 2022

In terms of missed opportunities, I’m excited for .NET7 and was hoping to do more with it this year. Same goes for Rust. Just couldn’t put enough focus with either. Hoping that will change in 2023. On the .NET side, I’m particularly interested in diving in more deeply to the related cloud native areas including the new Rate Limiting stack and YARP inspired by Azure App Service usage of YARP as an application gateway. On the Rust side I started the Solana Core program on Buildspace but didn’t progress far enough in to do anything with Rust yet.

OSS

In previous years I’ve done pretty substantial contributions to opensource, most notably Flutter. This year was a year where my contributions to any big project with virtually zero. Hoping that will change at some point as I learned a ton contributing to a sizable project / codebase. This will likely by in kubernetes or something in the native related ecosystem.

Tooling and sharpening the saw

From a dev tooling perspective, as the stats show I more or less exlusively use a Linux VM on my home devbox, accessed via Tailscale using either a ssh session, VS Code remote ssh extension or code-server. This year I have started building out an infra repository to be able to easily recreate the linux environment and also just started working through Vim Adventures.

Wrapup

Curious to know what you have been focussing on in the last year, dear reader? Are you happy with your progress? What are your goals for 2023?

This post is licensed under CC BY 4.0 by the author.