Software Development
-
Debugging Angular 2 Applications from the Console
Learn how to access useful information from your Angular 2 components right from your browser’s console There have been some…
Read More » -
Learning Angular 2: Creating a tabs component
A follow up on thoughtram’s excellent article on creating a tabs components with Angular 2 This is a follow-up article…
Read More » -
The importance of a data format: Part II – The environment matters
When designing a new data format, it is important to remember in what environment we’ll operate in, what are the…
Read More » Learning Angular 2 – Conditionally add styles to an element
Here we’re going through a couple of ways to conditionally apply some styles to a DOM element in Angular 2.…
Read More »-
The importance of a data format: Part I – Current state problems
JSON is a really simple format. It make it very easy to work with it, interchange it, read it, etc.…
Read More » -
Multi Content Projection aka Multiple Transclusion
How named/multi-slot transclusion works in Angular 2 If you’re an Angular developer, I’m sure you heard about transclusion. Sounds really…
Read More » -
Legacy Code to Testable Code # 12 : Instance Constructors
So we talked about static constructors and how to go around them. How about instance constructors? Are they innocent or…
Read More » -
Find the bug – The case of the degrading system – Answer
In my previous post I showed the following code, and asked what the bug was, and what the implications of…
Read More » -
Find the bug – The case of the degrading system
The following code contains a bug, can you spot it? class Program{ private Timer nextcheck; public event EventHandler ServerSigFailed; static…
Read More » -
Code review challenge – The concurrent dictionary refactoring – answer
Here is the full method that we refactored: public void ReturnMemory(byte* pointer) { var memoryDataForPointer = GetMemoryDataForPointer(pointer); _freeSegments.AddOrUpdate(memoryDataForPointer.SizeInBytes, x =>…
Read More »