3 ms·
Why do you bother commenting if you don't have any experience in the other language? With C#, you literally just `apt install` the cli and it keeps up to date.
by withinboredom 3y ago
Why do you bother commenting if you don't have any experience in the other language?
With C#, you literally just `apt install` the cli and it keeps up to date. I write go every weekend, and spent years in C#. I still don't know how to properly install go and I have to run it in docker containers. It's so undocumented (or rather the documentation was lacking at least a few years ago and I've not bothered checking because my workflow works for me), that I got lost as a new go dev.
As far as building and running ... C# is on par with Go. There's really not much difference, at least from the cli.
Editors ... I dunno. I pay for a visual studio license and the IDE is simply magical (esp with resharper). I use goland for go, and these two IDEs are barely comparable in some respects.
The testing story in C# is something to be desired. I would rather build a random project to test my code than write tests in C#. It's a mess over there.
But yeah, if I were to start a project completely from scratch, I'd choose PHP over either of them, so maybe I don't know what I'm talking about.
I'll see myself out.
- zer00eyz 3y ago>>>> It's so undocumented (or rather the documentation was lacking at least a few years ago and I've not bothered checking because my workflow works for me) Massive improvements from the days of early go. Between ease of install (Mac, Linux, haven't looked at windows in 2 ish years) and how it deals with packaging (go mod) there has been a ton of progress here. I have not used C# in at least a decade. My knowledge is dated! (python, ruby, node, c, and rust are all much more recent). It wasnt a bad language at the time but was very MS centric. And installing it on linux is a bit more complicated than "apt install" sadly. As someone who wrote PHP for years (and it paid me well) I would say that you should take a look at installing go "from scratch" on your local system ( https://go.dev/doc/install https://go.dev/doc/install ) and building a few throw away tools!
- ryanjshaw 3y agoIf you haven't used C# in a decade you missed that .NET Framework has been completely rewritten as open source .NET. To install, it's literally just: apt-get install dotnet-sdk-8.0
- neonsunset 3y agoand then getting helloworld to run is literally dotnet new console -o MyConsole && cd MyConsole && dotnet run (dotnet run uses debug build by default, it's very similar to cargo) as for package management, it is dotnet add package {name} by far one of the best ones, and when you need to manually edit .csproj, it's as easy as cargo.toml.