Judie

@judiethai.bsky.social

they/them/theirs I program games sometimes I love my wife

I've been reading Pro C# 10 with .NET 6 by Andrew Troelsen and Phil Japikse and I've already learned so much by the end of chapter 3. Did you know you can write a switch statement like this? It's called a switch expression!!

A C# switch expression that shows a very concise way to write a switch statement that returns a value using lambda statements. The cool thing is that you can ditch the case keyword, so for example case "Red": return "#FF0000"; can be written as "Red" => "#FF0000"

despite all the bs in the gamedev industry, i'm actually really excited to work on a new lil game with my wife and good friends <3 maybe i'll post more gamedev stuff here