Code Quality

2021


cover-javascript-variable.png

JavaScript Variable Declaration in the 21st Century

Michael Ashton

October 2020 marked the 14th anniversary of the introduction of “let” and "const" to Javascript. Yes, it was in 2006 that this feature was first introduced, and we’re still having conversations about it. So why, you ask, are we still talking about this? It seems that a lot of confusion remains, not to mention a lot of old code being passed around on StackOverflow with “var” all over the place. Here I’ll discuss the difference between these three declarations, and come to a conclusion about best practices

2019


cover-old-projects.png

Suggestions For Picking Up Old Projects

Dmitriy Chukhin

At Caktus, we work on many projects, some of which are built by us from start to finish, while others are inherited from other sources. Oftentimes, we pick up a project that we either have not worked on in a long time, or haven’t worked on at all, so we have to get familiar with the code and figure out the design decisions that were made by those who developed it (including when the developers are younger versions of ourselves). Moreover, it is a good idea to improve the setup process in each project, so others can have an easier time getting set up in the future. In our efforts to work on such projects, a few things have been helpful both for becoming familiar with the projects more quickly, and for making the same projects easier to pick up in the future.

2018


cover-new-years-resolution-work-less-code-better.jpg

My New Year’s Resolution: Work Less to Code Better

Jeremy Gibson

You may look at my job title (or picture) and think, “Oh, this is easy, he’s going to resolve to stand up at his desk more.” Well, you’re not wrong, that is one of my resolutions, but I have an even more important one. I, Jeremy Gibson, resolve to do less work in 2019. You’re probably thinking that it’s bold to admit this on my employer’s blog. Again, you’re not wrong, but I think I can convince them that the less work I do, the more clear and functional my code will become. My resolution has three components.

Culture of Unit Testing

Charlotte Mays

Unit testing is something that deeply divides programmer communities. Nearly everyone agrees that it’s good to have unit tests in place, but some developers question whether the time invested in writing unit tests would be better spent writing “real” code, doing manual QA, or debugging.

2017


False Peaks and Temporary Code

Calvin Spealman

In the day-to-day work of building new software and maintaining old software, we can easily lose sight of the bigger picture. I think we can find perspective when we step back and walk through the evolution of a single piece of software.

cover-how-to-write-a-bug-report.gif

How to write a bug report

Dan Poirier

Here are some brief thoughts on writing good bug reports in general.

Main elements

There are four crucial elements when writing a bug report:

cover-plan-for-mistakes-as-a-developer.jpg

Plan for mistakes as a developer

Dan Poirier

I Am Not Perfect.

I've been programming professionally for 25 years, and the most important thing I have learned is this:

2016


cover-insights-software-development-quality-assurance-QA-pro.JPG

Insights into software development from a quality assurance (QA) pro

Hao Nguyen

Because quality assurance (QA) is all about creating a seamless application experience across any number of devices, it’s most successful when no one notices it. The craft and expertise behind the work of QA professionals, as a result, can sometimes feel hidden. Charlotte Fouque, Caktus’ QA Analyst, sheds light onto what exactly quality assurance is and the intricacies of doing it well.

cover-how-i-built-power-debugger-pycon-2016-must-see-talk-36.png

How I Built a Power Debugger (PyCon 2016 Must-See Talk: 3/6)

Mark Lavin

Part three of six in our annual PyCon Must-See Series, a weekly highlight of talks our staff especially loved at PyCon. With so many fantastic talks, it’s hard to know where to start, so here’s our short list.

cover-what-were-clicking-july-link-roundup.jpg

What We’re Clicking - July Link Roundup

Hao Nguyen

Here’s external links our team’s been chatting about and sharing on social media since the last roundup.

Web Service Efficiency at Instagram with Python (Instagram)

“Instagram currently features the world’s largest deployment of the Django web framework, which is written entirely in Python. We initially chose to use Python because of its reputation for simplicity and practicality, which aligns well with our philosophy of ‘do the simple thing first.’”