Playing with software architecture in a Space Opera

In 2030 a massive project were kicked-off in order to colonize new planets.
The name of the project was International Space Program.

A lot of planets had been probed looking for the best candidate of the first mankind settlement in the space.
At the end Mars won and a bunch of settlers were chosen to colonize it.

The main reason for the colonization of space was the research and the harvesting of an important resource missing on Earth: “Whatsoever” (on periodic element table: WH)

What you could achieve using the “Whatsoever” was limitless, so a lot of Companies invested on the International Space Program.

The settlers were sent on Mars in 2032 and an interspace link granted the quick send of designs, prototypes useful to build objects on Mars.

The name of this link was: New Universal Gate for Extraterrestrial Transport or N.U.G.E.T for short.
Continue reading

Advertisements

TDD workshop

sherlockFew months ago in the office we started a discussion about testing.
The original topic was “how to implement a continuous integration/continuous delivery workflow”, so “how to test” became immediately a requirement and a parallel important topic.

My suggestion was to start coding in TDD of course, but like every office we had a lot of legacy code to deal with.
In order not to be stuck by that, we decided temporarily to focus on new (or almost new) projects and apply it to them.

So the point became to find a way to have all the developers, regardless on the seniority and the project, on the same page about the topic.

Continue reading

Refactoring a razor legacy code.

I will discuss about my generic approach in refactoring in a specific post, but a few weeks ago I found an old code and I remembered what was happened that specific time.

Like in every nightmare, everything started with a simple request
“Could we re-arrange few lists of categories in a different layout?”

More in detail, the task was to rearrange in a different rows-columns layout four lists of categories sorted and grouped by macro category.
In theory pretty easy so the answer was “of course!”

Continue reading