Code Readability is a Feature

program

If you are developing a product and working with a team of engineers writing code, you would have definitely faced the horror of reading someone else’s code. Many times it is your own code written a few months back. My failed challenge When I started out as a junior developer in my first company, I …

Read more

Limiting your CPU and Memory Usage

Yesterday I wrote about how to use a very simple timing context manager to measure how much time your python code/functions take. There might be times when you want to restrict how long your code executes. Python’s resource module in the standard library gives you an easy way to do that and more.

Read more

Timing your Python Code

There are many times when you would want to see how much time your program takes to execute. The easiest way to do it on a unix system is to use the time command before running the program.

Read more

Tackle Technical Debt with Time Bombs

Technical Debt is a term that most developers have heard of. Even if you haven’t heard of the term, I am pretty sure you would have done something in your programming career that is a technical debt.

Technical Debt is a metaphor referring to the eventual consequences of poor system design, software architecture or software development within a codebase.

In most cases, it is that quick and dirty hack your manager asked to put in just so that he could deliver it to the client.

Read more

Programmer productivity vs Salary

Disclaimer: Persons/organisations mentioned in this story are based on real-life. Any resemblance to persons/organizations living/dead is intentional. Imagine you run a startup called Super Duper Software Inc and you have a decent dev team. You now need to hire programmers and you see two fresh off the college programmers applying. First programmer (fake named Aakash) who knows nothing more …

Read more