On C# 9.0 Features

On C# 9.0 Features
   I started writing articles listing every newly released C# feature in the 3.0 timeframe. At the time there was not one good place that would post a list of all the features for a new version with explanations how they worked. You could find a list of features and you could find every feature explained separately in some blog post but it was surprisingly hard to find one list with explanation and people who would sometimes do it for one version didn’t do it for the next. Since C# 7.0 this is no longer the case as the official docs have good, detailed lists by version and there was indeed a C# 6 post somewhere on Codeplex that is now lost. I just kept my habit of writing these posts. However, these days I am a little busier and what is more the amount of features and frequency of releases has increased so I can barely write a post about one version before the next one hits. I do still see value in these posts as I include my opinion about a feature. I sometimes go back and check if I use a feature as much as I expected. From now on in these posts I will just link to the official feature explanation and go on with my opinion. When reading this article you can only read the relevant (linked) section from the docs, the other sections will be linked before discussing them...
Posted by:   Stilgar
19:42 25.09.2021

C# 8.0 Features - Part 3 - All the Small Things

C# 8.0 Features - Part 3 - All the Small Things
In part 3 I am going to cover the small additions to the language. Of course small does not mean they are not useful. Some of these improve day to day usage a lot more than things like default interface members...
Posted by:   Stilgar
15:35 12.09.2020

C# 8.0 Features - Part 2 - Pattern Matching Enhancements

C# 8.0 Features - Part 2 - Pattern Matching Enhancements
   Next in the series we will pay attention to the enhancements to pattern matching. The biggest feature on this front is not the new patterns but the switch expression. I have previously expressed my dislike for the switch statement and luckily some of the issues are fixed with the new expression version...
Posted by:   Stilgar
01:20 20.07.2020

The Morality of Star Trek – A Libertarian Perspective

The Morality of Star Trek – A Libertarian Perspective
   The reason why consuming art is a good way to learn history is that it gives even better window into the way a society thinks at certain point in time than studying history. I clearly remember when I was in 9th or 10th grade and we had to write an essay on Don Quixote. A girl in my class wrote a wonderful essay arguing that Cervantes never understood what he wrote. He died believing he wrote a fun story which mocked novels about knights. However, the spirit of the time often leaks into art even without the author realizing it. Don Quixote turned out to be full of renaissance ideals. Art also works its way around censorship a great example being Bulgarian movies from the communist era. The censors just did not think of censoring certain elements because they were just everyday life.

   Motivated by this I spent like a year falling asleep to an episode of Star Trek every night. I wanted to become familiar with the cultural icon and see how people thought back then. I watched The Original Series (TOS), The Animated Series and The Next Generation (TNG) as well as all the feature films. TOS is objectively bad and The Next Generation is probably good for the time but these days there are TV series of much greater quality. That being said the cultural impact of Star Trek makes it worth investigating. In this article I am going to comment on the libertarian issues in Star Trek...
Posted by:   Stilgar
18:07 24.03.2020

C# 8.0 Features - Part 1 - Default Interface Members

C# 8.0 Features - Part 1 - Default Interface Members
   The next major C# 8.0 feature I would like to comment on is the Default Interface Members. This feature is straight-forward. It simply allows you to define implementations for the methods, indexers and properties in the interface. Lets look at this example I made up that makes no actual sense...
Posted by:   Stilgar
01:10 04.11.2019
First Previous 1 2 3 4 5 6 7 8 9 10  ... Next Last