wtorek, 30 maja, 2023

Git tracking issue – case sensitivity matters

A short reminder to future me. A few days ago I found that even if I switch to someone else's remote branch, I can't...

Regex in the IDE

Since I understood how complicated, slow and troublesome regular expressions can be, I always tried to solve my programming problems (ekhm... challenges) without them....

CA0001: An unknown error occurred while running Code Analysis

I use two IDEs. Or even more, if different versions are considered. So, there is Visual Studio 2019, VS 2022 PreView and recently JetBrains...

Is enum defined?

Today’s story is about how careful we should be while coding. So, I’m writing this text because a strange number occurred on the test...

Git branch naming for Azure DevOps

Git branch can have quite a long name - even up to 250 characters! Today I show how to utilize this under certain circumstances,...

Decorator – helpful design pattern

Some time ago I found a design problem that the Decorator pattern helped me to resolve. Since that time I have used it a...

Mocking the file system

Last time I described how I started to test PowerShell scripts written in C#. Usually, the scripts interact with the system, so in order...

Testing PowerShell cmdlets written in C#

Recently I was rewriting an old console tool written in c#. The tricky part was that I had to implement this tool as a...

Git branching for legacy systems

Recently I work with the legacy code. It's complex, released in many different versions, and definitely needs to be refactored. But how to do...

Mów prawdę swoim pracownikom (i nie tylko)

Wpis umieszczam jako część Cyklu seniorskiego, ponieważ uważam że także Senior  Dev( a może przede wszystkim on) powinien zwracać szczególną uwagę na to w...