SOLID principles by examples: single responsability

This blog post will explain with simple examples the Singe Responsabily Principle of SOLID agiles principles to better understand how we can improve our daily coding activites. In future post I’ll cover the other four priciples. The Definition A class should have only one reason to change. Defined by Robert C. Martin in his book…… Continue reading SOLID principles by examples: single responsability

UWP Prism Unit Test

I’m sure we all hear about unit testing, test driven development and so on. These practices are useful and provide a long list of benefit like writing low-coupled and mantainable code to name a few. We want to write unit test for our UWP Prism application and we’d like, for example, to put our ViewModels…… Continue reading UWP Prism Unit Test

Prism UWP for beginners: events

In this post we explore another major component of Prism: the EventAggregator. The Prism library provides an event mechanism to communicate between loosely coupled components in the application. Using .NET Framework events is the most straightforward approach for communication between components if loose coupling is not a requirement. Events in the .NET Framework implement the…… Continue reading Prism UWP for beginners: events

Only the code tells the truth

Treat your code like any other composition, such as a poem, an essay, a public blog, or an important email. Craft what you express carefully, so that it does what it should and communicates as directly as possible what it is doing; so that it still communicates your intention when you are no longer around.…… Continue reading Only the code tells the truth

Integrate Azure Cognitive Services in UWP app

Azure Cognitive Services are an amazing tool than enables developers to augment users’ experience using the power of machine-based intelligence. The API set is powerful and provides lots of features that are organized in categories: vision, speech, language, knowledge, search, and labs. In this post we learn how to leverage the Emotion API to get…… Continue reading Integrate Azure Cognitive Services in UWP app

Fare giusto VS fare in fretta

Sappiamo tutti come ci si sente. Inizia un progetto nuovo. La possibilità di riscattarsi dalle schifezze del passato profuma di carta stampata. Vuoi dare il meglio e questa è la volta buona. I compromessi saranno pochi e ben calibrati. Il mondo reale è inesorabile e pretende che tu consegni in quella fatidica data. Al cliente…… Continue reading Fare giusto VS fare in fretta

Il COBOL degli anni 2020

Visual Basic 6 morirà? Non a breve, per lo meno. Kale Peterson di Visual Studio Magazine lo definisce addirittura il COBOL degli anni 2020. Quando uscì, Windows 7 sembrava l’ultimo sistema operativo su cui Microsoft avrebbe speso risorse per fare funzionare il runtime di VB6. Invece tale dichiarazione viene costantemente aggiornata e gli sforzi sono tutt’ora attivi…… Continue reading Il COBOL degli anni 2020