by gameswithgo · 6y ago · 0 comments
something i like about go is it shepards you to write code any other go programmer can follow easily
something i dislike about c# is it has the tools to let you write very very fast code but shepards you to use non devirtualized interfaces over heap allocated classes tied together with linq overhead.
Sure, the syntax and indentation levels are all the same, but that's not really the difficult parts of programming. The difficulty comes from abstractions, indirections and other abstract things that Go, just as any language, let's you do however you want.
There are of course codebases made in Go where the indirections makes no sense and are hard to follow, just as in any language.
What Go shepards you into is to make really verbose code (well, compared to most languages except Java I guess), where everything is explicit, unless hidden by indirection. This is both a blessing and a curse.
Again, it doesn't, as abstractions are not built from syntax of the language but from the indirections developers create with the syntax provided. I agree that the abstractions the standard library provides are smaller than in other languages, but outside of that, anyone can create their own abstractions (as it should be).
Otherwise other effect would cause this? Perhaps my sample is unrepresentative, or perhaps Go programmers are somehow more competent?
What tooling are you referring to that will make C# really fast?
Also, what are you referring to with non-devirtualized interfaces vs heap classes with LINQ?
Step one: Visual Studio Community Edition is free. Go install it. Don't waste time with Visual Studio Code, it's a toy compared to the proper VS.
When I learn a language, I like to start with the basic primitives: functions, loops, variables, etc...
Then, explore the types and the standard library. Note that the .NET Framework has a fantastically huge base library, way bigger than other languages with the exception of Java. It's already a bit of a task just to flip through the list of available classes let alone functions!
Do programming challenges like Advent of Code.
Start poking away at Real Problems.
Go from there...
- Desktop application development (Windows and macOS)
- Web Development (API's with .NET Core, traditional Rails-style stacks with ASP.Net)
- Game development (Unity)
If you want to get into C#, traditionally, these are the 3 things you can pick up and find lots of resources on.
Keywords to search on:
- Desktop Apps: WPF, XAML, Xamarin
- Web Dev: ASP.Net, .NET Core, Blazor
- Game Dev: Unity Game Engine
Good luck and happy learning/hunting!