Re:C# 9 top-level programs and target-typed expressions
by bob33212 on Tuesday March 30, 2021 @06:56PM
(#26641550)
They were created by the same person.https://en.m.wikipedia.org/wiki/Anders_Hejlsberg All the hate C# gets is because of balmer and gates, not for technical reasons
[ Parent
| on HN ]
Re:C# 9 top-level programs and target-typed expressions
by xbar on Tuesday March 30, 2021 @08:02PM
(#26642037)
Are you sure? My personal reluctance to C# has been that it's not handy for the stuff I do that needs to run on Windows, Mac, and Linux, which is everything.
Re:C# 9 top-level programs and target-typed expressions
by benaadams on Tuesday March 30, 2021 @09:31PM
(#26642566)
Anything in particular? .NET 5.0 (and therefore C#) runs beautifully on Windows, Mac and Linux (x64 or Arm)
Re:C# 9 top-level programs and target-typed expressions
by bkuehl on Wednesday March 31, 2021 @12:34AM
(#26643553)
.net core has handled that well in the last ~3-5 years. Yeah, not a great rep before that but the new iteration/rewrite has been impressive.
Re:C# 9 top-level programs and target-typed expressions
by tonyedgecombe on Wednesday March 31, 2021 @01:26AM
(#26643820)
I don't think it really started to settle down until .Net Core 3.0 which is just 18 months ago. Five years ago it was version 1.0 and a bit of a dog on all platforms.
Re:C# 9 top-level programs and target-typed expressions
by agumonkey on Tuesday March 30, 2021 @08:42PM
(#26642291)
there's always a bit of disdain from anything coming from MS I think that's a fair assessment
Re:C# 9 top-level programs and target-typed expressions
by bob33212 on Tuesday March 30, 2021 @08:47PM
(#26642317)
Relative to what? Assembly?
Re:C# 9 top-level programs and target-typed expressions
by xbar on Tuesday March 30, 2021 @10:43PM
(#26642968)
C/C++. Java. Python. JavaScript.
Re:C# 9 top-level programs and target-typed expressions
by bob33212 on Wednesday March 31, 2021 @08:44AM
(#26646515)
It should take less than 5 minutes to get it up and running. https://docs.microsoft.com/en-us/dotnet/core/install/macos
It took me about 60 seconds on a new EC2 ubuntu instance