Any #DotNet#CSharp#VisualBasic developer in the room? I want to start learning it, and I'm having a bad time on what to choose for starters. Taking into account that I'm on Linux, can I really do that? And do I have to use Mono, .NET, anything else? And, C#, Visual Basic, both, neither? I'm a bit confused. Thanks! :)
Capitalization in C# / Unity is an infuriating minefield.
Microsoft and Unity offer slightly different standards and then don't consistently follow them.
There is no entry for "capitalization" in the index for the 1000-page C# 10 in a Nutshell. There is some advice under "identifiers", but it differs from what is given by the previous two sources.
Many sources want to capitalize private and public fields differently. Why would you do that?!
Unity adds spaces and changes the capitalization when displaying class and field names.
If you refactor a name, Unity bloats your code with a FormerlySerializedAs attribute.
Can a #csharp#nerd explain to me what the fuck this is? I've been out of the daily #programming grind for a while now, but is it seriously not allowed to just declare a string property on a class? It's a string. A string is nullable. Why do I have to declare the string nullable? Am I losing my mind? Am I the #boomer now? :boomer: :boomer: :boomer:
🎙️🚀Get ready to explore the uncharted territories of .NET in the latest episode of "The Breakpoint Show" podcast! 🎧 In Episode 4, we'll be unraveling "The Missing Parts of .NET" 🕵️♂️🌐.
This article is all about how things are looking great for hiring Laravel devs in 2024, and I’m not seeing it.
I’ve been job-searching for 3 months, and very, very, very few of those jobs are decent-paying #PHP / #Laravel jobs. Sure, PHP/Laravel jobs exist, but most (anecdotally) pay far less than the rate others are willing to pay for #Golang, #Python, #Rust, #Elixir, #Java, #Csharp, and #TypeScript developers.
The industry does not value the output of PHP developers.
Does anyone still use WinForms unironically? Everyone seems to have moved on to XAML for C# projects, be it WPF or Avalonia or Maui or whatever. I've written applications in all of them (except Maui) but I just don't like the new ones like WinForms. It feels better. It makes more sense. Maybe I'm just too stupid for all the binding nonsense. Or too boomer. :boomer:
Am I alone here? Do any of you c# #nerds have opinions on this beyond "old bad, new better"?
📚 You can initialize a collection, but, BUT! You have to use target-type declarations. You can also use the “.." operator to spread one collection into another.
Just released: CleanMoq
This is a forked repo and release from the original Moq.NET library
This release will contain ALL the changes from the last merge from Moq.NET without the spyware that was added recently
Moq is published under BSD which permits the modification and redistribution of the library with or without consent from the copyrights owners.
Enjoy CleanMoq!
I want to see if it's possible to replace runtime reflection in @xunit v3 with #Roslyn source generators (for better performance and to support NativeAOT), but I think I've already hit the first blocking point: no support for #FSharp? Only #CSharp and #VB? #dotnet
Sad realization for today: using formatted strings hides issues that CA1305 would find.
Overly simple example:
$"{myValue}"
vs.
myValue.ToString()
These are equivalent. Both (usually) implicitly and silently use CultureInfo.CurrentUICulture, but only the latter can be flagged as needing an explicit culture to ensure you're getting the value the way you want.
This kind of makes me want to rip out all instances of formatted strings now.