Live data from Hacker News

The history of C# and TypeScript with Anders Hejlsberg [video]

youtube.com

71–80 of 162 posts

Re: The history of C# and TypeScript with Anders Hejlsberg [video]

#71

We need Anders to make one final language. A MINIMAL memory safe language. The less it has the better. Rust without the crazy town complexity. The distilled wisdom from C# and Delphi and TypeScript. A programming language that has less instead of more.

Hardly, even Turbo Pascal 7 for MS-DOS is more advanced than Go's type system.

Re: The history of C# and TypeScript with Anders Hejlsberg [video]

#72

We need Anders to make one final language. A MINIMAL memory safe language. The less it has the better. Rust without the crazy town complexity. The distilled wisdom from C# and Delphi and TypeScript. A programming language that has less instead of more.

I want something that will bring productivity of Delphi to Web. May be I am old now, but I could have built applications in a weekend in Access or Visual Basic that will take weeks now in latest web stack.

OutSystems, but it isn't cheap.

Re: The history of C# and TypeScript with Anders Hejlsberg [video]

#73

Earlier quoted context omitted.

C#, with default tooling, can compile without needing a VM, for windows, macOS, linux and some other platforms.

I wish that Nuget would show which packages are NativeAOT compatible.

It will probably get there one day since all BCL is annotated. Perhaps this is not done because you can have parts of the library be completely safe to use in AOT while another part not be.

Re: The history of C# and TypeScript with Anders Hejlsberg [video]

#74
post #43
post #35

Earlier quoted context omitted.

As a long term observer: definitely not a goal. But you have to be clear here: JavaScript and C# both are OO languages, both are having origins stories in Java/C++, both are facing the same niche (system development), same challenges (processor counts, ...) and so on. And then, you put teams on it which look left and right when they face a problem and then you wonder that they reuse what they like? C# language team i…

> They did not do a lot of mistakes in the 25+ years If my memory serves, .NET and WinFS were the two major forces that sunk Longhorn, and both have been given their walking papers after the reset [1]. .NET and C# have grown to be mature and well-engineered projects, but the road there was certainly not without bumps. It's just that a lot of the bad parts haven't spilled outside of Microsoft, thankfully. [1] https://…

Nope, what sunk Longhorn was politics.

Windows team is a C++ kingdom, and those devs will not adopt .NET even at gun point.

They redid Longhorn with COM and called it WinRT, irony of ironies, WinRT applications run slower than .NET with COM reference counting all over the place.

Google has showed those folks what happens when everyone plays on the same team, and now it owns the mobile phone market, a managed userspace with 70% world market.

Re: The history of C# and TypeScript with Anders Hejlsberg [video]

#75
post #43

Earlier quoted context omitted.

> They did not do a lot of mistakes in the 25+ years If my memory serves, .NET and WinFS were the two major forces that sunk Longhorn, and both have been given their walking papers after the reset [1]. .NET and C# have grown to be mature and well-engineered projects, but the road there was certainly not without bumps. It's just that a lot of the bad parts haven't spilled outside of Microsoft, thankfully. [1] https://…

.NET was already a going concern before Longhorn even started. What sank Longhorn was the fact that writing an OS from scratch is hard and maintaining compatibility with existing OSes in the process is even harder, especially when you're adopting a completely new architecture. Longhorn would have been a microkernel running 100% on the .NET runtime, mainline Windows is a monolithic kernel written in C++. I don't know…

See Android, or Meadows for alternative reality.

Re: The history of C# and TypeScript with Anders Hejlsberg [video]

#76
post #34

Surprising to me that (in the context of TypeScript) ECMAScript 4, ActionScript, and Google Closure were not mentioned! Especially the first two; Macromedia/Adobe and Netscape/Mozilla have been working on baking TypeScript into JavaScript proper for a whole decade before HTML5, the mobile boom, and the associated problems have emerged. ES4/AS3 even had a nearly identical syntax. What's even more interesting is that M…

> ES4/AS3 even had a nearly identical syntax.

Yeah. As someone who lived that era it was so frustrating that they abandoned ES4. I used AS3 daily for almost a decade until Adobe abandoned ActionScript4 and Flash Next around 2015.

Re: The history of C# and TypeScript with Anders Hejlsberg [video]

#77
The real history of C# is that it is a rip off of Java. Anders / Microsoft understandably doesn't want to acknowledge that, but the rest of us can. C# today has diverged from Java, but the original release was Java with a few features added, such as properties, delegates, structs and unchecked exceptions.

That last one was a mistake, see https://mckoder.medium.com/the-achilles-heel-of-c-why-its-ex...

Re: The history of C# and TypeScript with Anders Hejlsberg [video]

#78

The real history of C# is that it is a rip off of Java. Anders / Microsoft understandably doesn't want to acknowledge that, but the rest of us can. C# today has diverged from Java, but the original release was Java with a few features added, such as properties, delegates, structs and unchecked exceptions. That last one was a mistake, see https://mckoder.medium.com/the-achilles-heel-of-c-why-its-ex...

Checked exceptions are bad because people just catch them and rethrow RuntimeException. Proper errors as data would be much preferable.

Re: The history of C# and TypeScript with Anders Hejlsberg [video]

#79
post #78

The real history of C# is that it is a rip off of Java. Anders / Microsoft understandably doesn't want to acknowledge that, but the rest of us can. C# today has diverged from Java, but the original release was Java with a few features added, such as properties, delegates, structs and unchecked exceptions. That last one was a mistake, see https://mckoder.medium.com/the-achilles-heel-of-c-why-its-ex...

Checked exceptions are bad because people just catch them and rethrow RuntimeException. Proper errors as data would be much preferable.

> people just catch them and rethrow

People don't have to. There is a lot of misinformation out there about checked exceptions, and people are responding to the misinformation.

Re: The history of C# and TypeScript with Anders Hejlsberg [video]

#80
post #26

Earlier quoted context omitted.

Most languages have poor support for structural types though. If you try and join two records together (like a SQL join), what will your favourite language infer then?

C# has anonymous types which is pretty much the same thing. Though I prefer to declare actual types for most usecases, I'll only use anonymous types for intermediate results and such.

Claude is "very good" in applying >var< continuously :-D
Post reply on HN