dotnet/csharplang
View on GitHub ↗ ★ 12,731 C#
The official repo for the design of the C# programming language
124 mentions on Hacker News by 100 people: 21 stories, 103 comments · first 2017-02-03 · latest 2026-10-21
20082026
-
…past year. Typescript is probably one of the fastest growing languages (in terms of usage). [C#] https://github.com/dotnet/csharplang [F#] https://fsharp.org/ [Typescript] https://www.typescriptlang.org/ [4]…
comment by louthy · 2023-02-14 · in Microsoft's AI Bing also generated factual errors at launch -
…Haskell, F#, Elm and others usually support that. C# has been debating adding support for it ( https://github.com/dotnet/csharplang/issues/113 ), but its community hasn't reached consensus yet. Dynamically-typed languages like Elixir don't…
comment by chem83 · 2023-02-14 · in Rust went from side project to world’s fastest growing language -
https://github.com/dotnet/csharplang/issues/3179
comment by Deukhoofd · 2022-10-20 · in That Shouldn't Happen – UnreachableException in .NET 7 -
https://github.com/dotnet/csharplang/issues/1328 > Have you ever wanted an interface (or abstract type) to be parameterized on a polymorphic variable to its implementer, but not its users? Have you ever wanted to parameterize over internal…
comment by orthoxerox · 2022-07-09 · in Go generics are not bad -
.NET 7 improves this with static abstract members in interfaces and generic math. https://github.com/dotnet/csharplang/issues/4436 https://devblogs.microsoft.com/dotnet/dotnet-7-generic-math/
comment by halter73 · 2022-07-09 · in Go generics are not bad -
…[4] https://docs.microsoft.com/en-us/dotnet/csharp/nullable-refe... [5] https://github.com/dotnet/csharplang/issues/105
comment by Genbox · 2022-05-29 · in Make formal verification and provably correct software practical and mainstream -
The proposal is linked right there in the blog post. You could read it and save some time. https://github.com/dotnet/csharplang/blob/main/proposals/utf... > The language will allow conversions between string constants and byte sequences…
comment by bzxcvbn · 2022-05-22 · in C# 11 Preview Updates – Raw string literals, UTF-8 and more -
Fun thing is the current explaination regards readonly locals: https://github.com/dotnet/csharplang/issues/188#issuecomment... It is basically: if we introduce it, it gives us a tiny benefit for a gigantic amount of noise during every…
comment by oaiey · 2022-05-22 · in C# 11 Preview Updates – Raw string literals, UTF-8 and more -
…any way against these proposals. There just seems to be little visible progress: Algebraic types: https://github.com/dotnet/csharplang/issues/113 Const locals: https://github.com/dotnet/csharplang/issues/188
comment by codeflo · 2022-05-22 · in C# 11 Preview Updates – Raw string literals, UTF-8 and more -
…struct Member { public string FirstName { get; set; } public List<Book> Books { get; set; } } [0]: https://github.com/dotnet/csharplang/issues/3630
comment by Semaphor · 2022-05-11 · in Ballerina: A Data-Oriented Programming Language -
> (What happens if the closing quotes pass some of the text?) That's an error. Called out here: https://github.com/dotnet/csharplang/blob/main/proposals/raw...
comment by Metasyntactic · 2022-02-17 · in C# Raw String Literal Proposal -
Hi there! I'm one of the C# language designers. I'm working on a proposal for that right now: https://github.com/dotnet/csharplang/issues/5354 Thanks!
comment by Metasyntactic · 2022-02-17 · in C# Raw String Literal Proposal -
The issue is being discussed here: https://github.com/dotnet/csharplang/issues/4304
comment by radicalbyte · 2022-02-17 · in C# Raw String Literal Proposal -
With potentially more on the way! https://github.com/dotnet/csharplang/blob/main/proposals/utf...
comment by sbelskie · 2022-02-17 · in C# Raw String Literal Proposal -
…".. using source generators for AOP has been effectively rejected by the language team ..". https://github.com/dotnet/csharplang/discussions/5735#discus...
comment by hackerfromthefu · 2022-02-11 · in Twenty years of C# with Anders Hejlsberg [audio] -
https://github.com/dotnet/csharplang/discussions/5735 here is a discussion about this feature.
comment by ulugbek7 · 2022-02-11 · in Twenty years of C# with Anders Hejlsberg [audio] -
I'd love to see support for structural typing. There are some proposals for that: - https://github.com/dotnet/csharplang/discussions/164 - https://github.com/dotnet/csharplang/discussions/2548
comment by binarynate · 2022-02-10 · in Twenty years of C# with Anders Hejlsberg [audio] -
…16 arguments, as of C# 10 the compiler will synthesize an anonymous delegate type in some cases: https://github.com/dotnet/csharplang/blob/main/proposals/csh...
comment by MarkSweep · 2022-01-10 · in _Application.Run(Object, Object, Object, Object, Object, Object, Object, Object -
…ps://docs.microsoft.com/en-us/dotnet/csharp/language-refe... And in the GitHub issue for the feature: https://github.com/dotnet/csharplang/issues/287
comment by ripley12 · 2021-11-16 · in C# 10 new feature CallerArgumentExpression -
…features that everyone talks about, but never gets championed. Wish C# 10 already had this feature. https://github.com/dotnet/csharplang/discussions/2962
comment by tonicbbleking · 2021-11-08 · in .NET 6 Released -
Low-level C# could still use https://github.com/dotnet/csharplang/issues/1060 - then we could steal all the high-perf generic algorithms from the C++ guys, and call it good.
comment by int_19h · 2021-08-30 · in Hell Is Other REPLs -
And C# since 7.0 https://github.com/dotnet/csharplang/blob/main/proposals/csh... First time I saw it was in C#, I love it personally
comment by banana_giraffe · 2021-08-27 · in An error message if you put more than 2^24 items in a JS Map object -
…It's the most visible wart in C# today - and no end of requests for a more succint alternative: https://github.com/dotnet/csharplang/discussions/645
comment by DaiPlusPlus · 2021-08-27 · in On the proliferation of try, and soon, await (2020) -
…to errors. For C#, the standards committee is still trying to describe version 6 of the language ( https://github.com/dotnet/csharplang/tree/main/spec ), and we are now on version 10. An Antlr4 grammar for C# is mechanically reverse…
comment by kaby76 · 2021-07-22 · in Why aren't there more programming-language startups? -
I'm looking forward to Discriminated Unions being finalized. One day... https://github.com/dotnet/csharplang/issues/113
comment by infogulch · 2021-04-07 · in C# 9 Pattern Matching -
…design process is very much in the open, so anybody can go and take a look at the rationale etc. https://github.com/dotnet/csharplang
comment by int_19h · 2021-03-30 · in C# 9 top-level programs and target-typed expressions -
…date someone said the same thing as my comment here in the discussion about the "records" feature https://github.com/dotnet/csharplang/issues/39#issuecomment-...
comment by capableweb · 2020-09-22 · in .NET 5.0 – New APIs -
…but not a full discriminated union implementation yet. That seems to be on the roadmap though: https://github.com/dotnet/csharplang/issues/113 https://github.com/dotnet/csharplang/issues/485
comment by apta · 2020-06-17 · in The Next Step for Generics -
…want to "streamline" this aspect, because currently this dialect requires a lot of custom handling. https://github.com/dotnet/csharplang/issues/2765
comment by SirIntruder · 2020-05-20 · in Welcome to C# 9.0 -
Records are coming https://github.com/dotnet/csharplang/projects/4#card-1849391... . Will be in C# 9
comment by u7u7h · 2020-03-04 · in New Features in Java 14 -
C# has been waiting on record types for a while. https://github.com/dotnet/csharplang/blob/master/proposals/r... Come on guys!
comment by GiorgioG · 2020-02-04 · in Java 14 Feature Spotlight: Records -
C# are pushing for type classes https://github.com/dotnet/csharplang/issues/164 which author of F#, previously, didn't like to add to F#. (Not hating on how he wants the language to evolve)
comment by idnefju · 2020-01-08 · in F# Data Type Providers in .Net Core (2018) -
…from the first release. In recent years, they've opened the design process to feedback from anyone: https://github.com/dotnet/csharplang
comment by JoeMayoBot · 2020-01-06 · in A Pledge for Namespace Directives in C# -
It seems Microsoft is doing .net Java introp: https://github.com/dotnet/csharplang/issues/2517
comment by lazeebee · 2019-12-19 · in Microsoft’s Ready to Contribute to OpenJDK -
…at [1]. Although I'm not very optimistic that NRT in 7.x will happen, more support would help. [1] https://github.com/dotnet/csharplang/issues/2995
comment by Mindless2112 · 2019-12-06 · in Deep Dive Into C# 9 -
…so it's a matter of taste (and competence) whether you make your records classes. See mentions here https://github.com/dotnet/csharplang/blob/master/proposals/r... of the ability to make them structs, not just classes.
comment by kevingadd · 2019-12-06 · in Deep Dive Into C# 9 -
…C# Version Planing as version X.X, so maybe in the future we're going to have those capabilities. https://github.com/dotnet/csharplang/issues/2765
comment by jopx · 2019-10-15 · in .NET Core 3.0 Concludes the .NET Framework API Porting Project -
…could pull the rug out at any time. What you mean? C# is open source. And, here is the location - https://github.com/dotnet/csharplang
comment by mandeepj · 2019-01-27 · in Memory usage of a toy C# server and client with 500K concurrent connections on -
Here https://github.com/dotnet/csharplang/issues/339
comment by drivebyops · 2018-07-12 · in The Last Hope for Scala's Infinity War [video] -
…For comparison, a C# proposal of terser syntax (which uses the switch keyword) is available here: https://github.com/dotnet/csharplang/blob/master/proposals/p...
comment by warty · 2018-04-26 · in JavaScript Pattern Matching Proposal -
…the latter of which is a prototype of Razor running in the browser via web assembly. [1]: https://github.com/dotnet/csharplang [2]: https://docs.microsoft.com/en-us/aspnet/core/mvc/views/razor [3]: http://blog.stevensanderson.com/2017/11/05…
comment by zastrowm · 2018-01-16 · in Mono and WebAssembly – Updates on Static Compilation -
…each section is well-readable. I notice an unofficial draft for C# 6 is available as markdown on https://github.com/dotnet/csharplang/blob/master/spec/README... (via https://docs.microsoft.com/en-us/dotnet/csharp/language-refe... )
comment by Someone · 2017-11-19 · in Span<T> in C# -
Thank you for additional clarification, I can see that some of related issues like https://github.com/dotnet/csharplang/issues/38 are not yet closed too, so it may cause additional confusion about its status. I think that a C++'s const&…
comment by polskibus · 2017-11-19 · in Span<T> in C# -
readonly ref/in params in C#7.2? https://github.com/dotnet/csharplang/blob/master/proposals/c...
comment by benaadams · 2017-11-19 · in Span<T> in C# -
FYI that didn't ship in C# 7 More info: https://github.com/dotnet/csharplang/issues/36
comment by jacobparker · 2017-10-20 · in Pointer Free Programming and the Future of Nim -
…of the language is really transparent, and rapid: proposals for C# 8 (possibly 2019/2020): https://github.com/dotnet/csharplang/milestone/8
comment by AdeptusAquinas · 2017-09-19 · in The Little ASP.NET Core Book -
…And I discuss some ways that could be integrated with the extension everything proposal here: https://github.com/dotnet/csharplang/issues/164 The problem with both is that there's a new notion of "shape" or "concept" that's different from…
comment by MadsTorgersen · 2017-08-28 · in A Preview of C# 8 [video] -
…a proposal for "sealed enums" on the C# language repo that have the semantics you are looking for. https://github.com/dotnet/csharplang/issues/782
comment by jaredpar · 2017-08-26 · in A Preview of C# 8 [video]