Live data from Hacker News

.NET for Beginners (2020)

dusted.codes

31–40 of 192 posts

Re: .NET for Beginners (2020)

#31

Earlier quoted context omitted.

C# was never intended to run everywhere. It was a Java clone for Windows. Now msft wants to make it run everywhere. There's going to be some confusion in the transition.

You couldn't be more mistaken... C# and .Net (CLR) were absolutely written/meant to be portable. Mono was pretty well adapted from early on at a core level, though it didn't support all the options. If it weren't for MS patent stance and some FUD early on, it might have gained more adoption in the Linux space. One of the reasons I chose to learn C# a couple decades ago over Java was the fact that interop was so much…

Mono was created by Miguel de Icaza, a Mexican (Now Mexican-American) programmer. Microsoft had nothing to do with it. Novell purchased it. Eventually Microsoft warmed up to it. Miguel de Icaza now works at Microsoft.

Re: .NET for Beginners (2020)

#32
I agree with all of the above. I love C# as a language having used it in Unity in the past.

I wanted to try to a server backend with it, but I was lost as to which framework to use (ASP.net / .NET Core / .Net 5) so I ended up choosing neither.

Which is a shame, because I really really like the language

Re: .NET for Beginners (2020)

#34

Earlier quoted context omitted.

I would consider .Net 5 that threshold... there's no more Core, fyi. As for VS Community, if someone is getting started in C#, I'd suggest VS Code and learning the CLI tool before jumping in on the IDE bandwagon if only to learn the platform better in getting started.

> I'd suggest VS Code and learning the CLI tool before jumping in on the IDE bandwagon if only to learn the platform better in getting started. I absolutely hate most CLI tools and C#'s is no exception. I'm happy to say that I have never, in any of my time developing, been in a situation where I absolutely had to use one for C#. It's made me very happy. .csproj's and .sln files are such a better design pattern for pr…

And if you're targeting Docker deployments on Linux? Or have developers on Linux or MacOS laptops?

Re: .NET for Beginners (2020)

#35
.NET definitely has a messy past but someone arriving today probably has the easiest time ever getting started because so much has changed to become a single streamlined product. All these opinions are weighed down by the very history that beginners don't have.

The expansive standard library, web/desktop/mobile/gaming output, Visual Studio (Code) IDEs, fantastic in-depth guides and documentation [1], dev evangelists like Scott Hanselman [2], and constant stream of content from MS team and community [3] makes it not only easy to get started but also continue until you're an expert.

I find it strange to complain about a 12 year old stackoverflow answer when other environments like nodejs are a nightmare once you get past the toy project stage. Anyone can write a simple tutorial for a to-do app, but it's how well you can grow that to a real complex system that determines how well-designed and productive an environment really is. And I've yet to find anything better.

1. https://dotnet.microsoft.com/ 2. https://www.hanselman.com/ 3. https://dotnet.microsoft.com/platform/community

Re: .NET for Beginners (2020)

#36

Earlier quoted context omitted.

You couldn't be more mistaken... C# and .Net (CLR) were absolutely written/meant to be portable. Mono was pretty well adapted from early on at a core level, though it didn't support all the options. If it weren't for MS patent stance and some FUD early on, it might have gained more adoption in the Linux space. One of the reasons I chose to learn C# a couple decades ago over Java was the fact that interop was so much…

Mono was created by Miguel de Icaza, a Mexican (Now Mexican-American) programmer. Microsoft had nothing to do with it. Novell purchased it. Eventually Microsoft warmed up to it. Miguel de Icaza now works at Microsoft.

Mono was an implementation of the CLI ... the "Design" of the language, and CLI were absolutely designed to be cross-platform.

Re: .NET for Beginners (2020)

#37

Earlier quoted context omitted.

> I'd suggest VS Code and learning the CLI tool before jumping in on the IDE bandwagon if only to learn the platform better in getting started. I absolutely hate most CLI tools and C#'s is no exception. I'm happy to say that I have never, in any of my time developing, been in a situation where I absolutely had to use one for C#. It's made me very happy. .csproj's and .sln files are such a better design pattern for pr…

And if you're targeting Docker deployments on Linux? Or have developers on Linux or MacOS laptops?

Sure doesn't sound like beginner C# questions at this point, eh?

Re: .NET for Beginners (2020)

#38
I found the article fairly accurate, being a .NET developer now for upwards of 15 years, but perhaps the title is misleading.

I would have titled it, "Beginning .NET for Professionals."

Most of the concerns outlined in the article are really only relevant to professionals, or serious hobbyists. If you're truly a beginner most of those points are not concerns, at least until much later.

If you want to learn .NET, download Visual Studio Community Edition, fire up a console application, and tinker. Starting with C# is probably a good idea.

I did this with my sons, before there was a Community Edition, when they were about 11 and 8 - truly beginners. They had little problem getting going, writing small little programs to find primes or the lowest common denominator for a number. We didn't even cover OOP really, and the standard library only minimally.

So it can be done, even today after .NET has exploded. It's just hard for us pros who now have to confront that enormity.

Re: .NET for Beginners (2020)

#39

Earlier quoted context omitted.

Okay, where do you start in Learning C#? What do I have to install? What should I install? Even those are complex questions with a few answers. I started with C# two decades ago with the command line compiler and a very large book. There was really only a single option, and since I didn't have MSDN access, no beta VS for me. Today, I would suggest that a developer start with .Net 5 and VS Code, with the extension ins…

> Okay, where do you start in Learning C#? What do I have to install? What should I install? Visual Studio Community Edition 2019. Done. edit: I would encourage using regular .Net, not .Net Core until they've reached a certain threshold.

There is no "regular .NET" anymore.

It's just .NET 5, a cross-platform framework that is the next version of .NET Core taking over as the single framework.

Re: .NET for Beginners (2020)

#40

Earlier quoted context omitted.

And if you're targeting Docker deployments on Linux? Or have developers on Linux or MacOS laptops?

Sure doesn't sound like beginner C# questions at this point, eh?

I'm sorry but it definitely does, there are plenty of developers using Linux coming from language set (a,b,c) trying to pick up language 'c'. I would consider myself a beginner for language 'd'.
Post reply on HN