Saturday, 29 June 2019

On Software Development "sprints"

In software development, we have this word called sprint, which describes a 2 week cycle - a period for which work is planned.

I like the word "sprint". Because I have generally felt slow, I could never quite understand this idea of a sprint.

Sunday, 26 May 2019

Why the solution that fixes the fundamental issue does not always win out?

Given a holistic solution and a specific, more logically direct solution, however much investment is required that does not require as much structural change, there is a bias towards the specific solution.

Example.

Problem:
Patient with heart disease.
Clearly caused by dietary issues and overeating.
Dietary problems caused by mental wellness issues.

Solution:
Drugs targeting the heart disease.
Short pep-talk about healthier eating.

I wonder how we can do better.

Saturday, 4 May 2019

Willingness to Practice

A huge part of what it means to be excellent, that one can control (to a greater degree than other things), is the willingness to practice.

The feeling of constraint and being limited



We learn constraints from our parents.

From my dad, I learnt to be too careful. Always think of the risks first, and keep the risks in mind first and foremost.
From him, decisions, like whether to go travel, tended to go like this: there is a decision to make, let's consider all the reasons not to do it (mostly risks) and then either do it too little, or not do it at all.

In an aggressive world, this may not be the optimal way. I did miss out a lot as a result.

Fixing this problem can be straightforward.
But this is a topic for another article.

At the same time, it can also lead to many side-effects.

1. One can become a stress junkie. This comes from getting great results from taking risks and stressing.

2. Becoming withdrawn. When we consistently avoid taking risks, it is possible to stop growing and start shrinking.

Today, I aim to stop this once and for all by changing my thinking, and replace it with

"When I am faced with a choice to continue what I'm doing and taking a risk, I will listen to my gut feeling, weigh the pros and cons for a dedicated 5 minutes at most, and take the risk if there is no permanent risk, physical or unmanageable danger to me."

At the same time, I find that continuous sport, down time and education is really key to providing that feeling of moving forwards, that makes it easier to move forwards.

For that, I have been walking a minimum of 10K steps a day and doing at least some sort of exercise everyday no matter how busy I seem to be.

Saturday, 27 April 2019

The Quality of your Product is related to the Quality of communication in your Team

Most bugs, careless included, are failures of communication.

In software, the best practice is to review each other's code. 

Careless mistake

This is an honest mistake on the part of the individual. 
As reviewer, you should be there to test it. To gauge the level of communication and test it.
Well-written code also means well-tested code. If careless mistakes slip through despite testing, it means your tests are likely inadequate. It means that your tests do not adequately cover exactly what you want the software to do.

Lack of Tests

Others will not know what to expect when they use, run your code. 
Or worse, they think they know, but you know, there are always those cases on the margins that will stump you up.

Style Problem

The purpose of style is to communicate one's ideas better. If there are style problems, there is a problem in communication. 
This could be unaligned style - that the team does not have consensus regarding communication standard, or not having a tool to automate style checking.

Not following Design Patterns or Non-Idiomatic Code

"I did it my way"

When you are developing a product, it's not directly about you. It's not that you are secondary in a hierarchical sense, it means you try to do the best for the product.

When one does not follow conventions, or invents a new one without telling anyone, it imposes an additional cost on others to understand it.