Live data from Hacker News

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

youtube.com

101–110 of 162 posts

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

#101

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.

>We need Anders to make one final language. I do feel like there is a gap for a modern compiled, functional and garbage collected language. Go isn't it because it lacks the functional constructs. C# and Java aren't it because they depend on a VM. Rust isn't it because of its difficult memory management. Swift isn't it because it is so tied to Apple and their platforms.

That's the problem though. People want one language to be The One (tm) and that's just not possible. Your The One (tm) isn't mine.

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

#102

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.

What would you take out of C# etc?

All non-generic container classes and nullable reference types.

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

#103
I used to dream about a TypeScript that targeted dotnet. These days I'm not so sure I'd use it, only because I have a tendency to get caught in the weeds "big braining" the type system to make the perfect type for every situation. F# is my happy medium for the backend.

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

#104

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...

> "Hejlsberg: First of all, C# is not a Java clone. ... we looked at lots of languages, we looked at Java"

- https://web.archive.org/web/20100109195800/http://windowsdev...

You can just state the author of the language is lying and you somehow know better. You don't even justify why "they don't want to acknoweldge it" - even with Hejlsberg there acknowledging taking ideas from Java - or explain why C# had those differences mentioned in the rest of that interview, or why Microsoft separately wrote their own Java implementation like Visual J++ if C# was just "their Java".

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

#105

I used to dream about a TypeScript that targeted dotnet. These days I'm not so sure I'd use it, only because I have a tendency to get caught in the weeds "big braining" the type system to make the perfect type for every situation. F# is my happy medium for the backend.

What's missing from C#?

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

#106
post #105

I used to dream about a TypeScript that targeted dotnet. These days I'm not so sure I'd use it, only because I have a tendency to get caught in the weeds "big braining" the type system to make the perfect type for every situation. F# is my happy medium for the backend.

What's missing from C#?

Discriminated Unions is one thing I would like.

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

#107

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.

ASP.Net Web Forms still exists, though it is deprecated.

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

#108

I started my career doing ~20 years of C# from pretty much the very beginning (JavaScript even before then!). Around 2020, I switched into the startup space and quickly picked up TypeScript since that's "what the kids use". It wasn't without struggles, but once I wrapped my head around TypeScript as "shapes for JavaScript", it clicked. At the time, the startup was undertaking a new product built on Nest.js[0] which l…

> the "default" ORM is far more flexible and powerful

I have never used any ORM that is as capable. Entity Framework Core with Linq is what keeps me on .NET.

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

#109
post #54
post #32

Earlier quoted context omitted.

What you are looking for is called F#. You get native interop with C# and access to all .NET/C# libraries as a bonus. We use it as a daily driver for a complex B2B2C cloud platform.

Does it not run in a VM?

You can embed the framework into the application so it is a single distributable.

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

#110
post #98

Earlier quoted context omitted.

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.

Right? I was hoping webassembly would bring back some proper gui tools like this to avoid the whole JS/DOM but no luck so far.

Blazor is pretty cool if you are into that kind of stuff. Mind you, you still might need the slightest tiny dash of JS, but depending on your needs, you might be able to get away from JS entirely.
Post reply on HN