Code for a Living

We’re here to help developers at every stage of their careers.

code-for-a-living July 21, 2021

Why you should build on Kubernetes from day one

If you’re building a new app today, it might be worth taking a closer look at making it cloud-native and using Kubernetes from the jump. The effort to set up Kubernetes is less than you think. Certainly, it’s less than the effort it would take to refactor your app later on to support containerization. 
code-for-a-living July 5, 2021

Best practices for writing code comments

While there are many resources to help programmers write better code—such as books and static analyzers—there are few for writing better comments. While it's easy to measure the quantity of comments in a program, it's hard to measure the quality, and the two are not necessarily correlated. A bad comment is worse than no comment at all. Here are some rules to help you achieve a happy medium.
code-for-a-living July 3, 2021

Level Up: Linear Regression in Python – Part 7

In the seventh lesson of the series we’ll discuss some methods for comparing linear regression models. In the process, we’ll learn about the problem of overfitting and investigate some of the pros and cons of various evaluation methods (such as R-squared, adjusted R-squared, log likelihood, AIC, and BIC). We’ll also continue to practice our Python…
code-for-a-living June 26, 2021

Level Up: Linear Regression in Python – Part 6

In the sixth lesson of the series we’ll discuss some methods for data transformation to improve a linear regression model. In the process, we’ll learn to simulate data with known properties, review some of the assumptions of linear regression, and continue to practice our Python skills. Here are some Stack Overflow questions related to the…