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
-
…exceptions. Oh, csharplang already had discussion on the matters about try/catch single statements: https://github.com/dotnet/csharplang/issues/786
comment by jve · 2023-08-18 · in TypeScript is surprisingly ok for compilers -
…the above code is exhaustive because no proper sum types Thats because c#s enum is not "closed" https://github.com/dotnet/csharplang/issues/3179
comment by hardware2win · 2023-08-18 · in TypeScript is surprisingly ok for compilers -
This seem to be a longer running one: https://github.com/dotnet/csharplang/issues/113
comment by chem83 · 2023-08-08 · in The combined power of F# and C# -
…(There are multiple proposals tracking the idea. This seems the most comprehensive and "central": https://github.com/dotnet/csharplang/issues/7016 )
comment by WorldMaker · 2023-08-07 · in The combined power of F# and C# -
https://github.com/dotnet/csharplang/issues/7009 [Proposal]: Interceptors #7009 > An interceptor is a method which can declaratively substitute a call to itself instead of a call to an interceptable method at compile time. This…
comment by nh23423fefe · 2023-06-21 · in Interceptors (new C# metaprogramming feature) to fuel DapperAOT development -
…Main[2] a few years ago. [1]: https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/b... [2]: https://github.com/dotnet/csharplang/blob/main/proposals/csh...
comment by uncheckederror · 2023-05-21 · in How much memory do you need to run 1M concurrent tasks? -
…API is used. Searching how people configured something. Searching accidental uses of an attribute: https://github.com/dotnet/csharplang/discussions/5657#discus...
comment by Kuinox · 2023-05-08 · in GitHub code search is generally available -
▲ 3
Disciminated Union Proposal for C#story by klysm · 2023-03-15 · 1 comment
-
▲ 3
Dealing with limited breaking changes in C#story by hazzamanic · 2023-03-08 · 0 comments
-
▲ 1
Dealing with limited breaking changes in C#story by ko27 · 2023-03-07 · 0 comments
-
…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 -
▲ 3
C# – Mocking classes without making members virtualstory by dotnetlover · 2022-06-30 · 5 comments
-
…[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 -
▲ 89
C# Raw String Literal Proposalstory by nikbackm · 2022-02-17 · 119 comments
-
…".. 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 -
▲ 2
C# 11 features initial triagestory by pjmlp · 2021-09-08 · 2 comments
-
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 -
▲ 1
Proposal for raw string literal in C#story by azhenley · 2021-01-06 · 0 comments
-
…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#