Fixing the tracker

Share
Fixing the tracker
Photo by Europeana / Unsplash

Today Claudius Maximus told me that there were some issues with the tracker.

Issues with session management.

Who even asked for session management, mate?

I am realising the easiest way to solve problems is to first look at why we are doing it in the first place.

Most complexity will eventually breed retardation.

In this case I just went line by line and asked it why it was doing what it was doing.

I guess im just lazy most times and never do this.

If I dont know of the bad code, it must not exist lol.

Its also important not to be too worried about bad code.

You will never know what the best solution to get from A to B is.

The best solution to get from A to B is relative to how get from B to C to D

You cant think that far ahead in the first use case or feature set.

Once you solve multiple problems, you will automatically see areas to refactor.

Anyways back to the tracker...

This is essentially the most important element.

All other steps come from this.

Here is the code.

I deployed it live and saw some events.

Now, tomorrow I will make the agent do a proper run-through of all cases to create more events.

Let's see.