Hacker GitHub

← All repos

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

Mentions per year 124 mentions · busiest year 2023 (20)
20082026
  1. …https://github.com/domn1995/dunet It's on the roadmap and will arrive at some point: https://github.com/dotnet/csharplang/blob/main/proposals/dis...
    comment by CharlieDigital · 2023-08-24 · in Bun v0.8
  2. …exceptions. Oh, csharplang already had discussion on the matters about try/catch single statements: https://github.com/dotnet/csharplang/issues/786
  3. …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
  4. 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#
  5. …(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#
  6. 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…
  7. …Main[2] a few years ago. [1]: https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/b... [2]: https://github.com/dotnet/csharplang/blob/main/proposals/csh...
  8. …API is used. Searching how people configured something. Searching accidental uses of an attribute: https://github.com/dotnet/csharplang/discussions/5657#discus...
  9. ▲ 3
    Disciminated Union Proposal for C#
    story by klysm · 2023-03-15 · 1 comment
  10. ▲ 3
    Dealing with limited breaking changes in C#
    story by hazzamanic · 2023-03-08 · 0 comments
  11. ▲ 1
    Dealing with limited breaking changes in C#
    story by ko27 · 2023-03-07 · 0 comments
  12. …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]…
  13. …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…
  14. https://github.com/dotnet/csharplang/issues/3179
  15. 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
  16. .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
  17. ▲ 3
    C# – Mocking classes without making members virtual
    story by dotnetlover · 2022-06-30 · 5 comments
  18. …[4] https://docs.microsoft.com/en-us/dotnet/csharp/nullable-refe... [5] https://github.com/dotnet/csharplang/issues/105
  19. 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…
  20. 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…
  21. …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
  22. …struct Member { public string FirstName { get; set; } public List<Book> Books { get; set; } } [0]: https://github.com/dotnet/csharplang/issues/3630
  23. > (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
  24. 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
  25. 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
  26. 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
  27. ▲ 89
    C# Raw String Literal Proposal
    story by nikbackm · 2022-02-17 · 119 comments
  28. …".. 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]
  29. https://github.com/dotnet/csharplang/discussions/5735 here is a discussion about this feature.
  30. 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
  31. …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...
  32. …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
  33. …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
  34. ▲ 2
    C# 11 features initial triage
    story by pjmlp · 2021-09-08 · 2 comments
  35. 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
  36. 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
  37. …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
  38. …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…
  39. 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
  40. …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
  41. ▲ 1
    Proposal for raw string literal in C#
    story by azhenley · 2021-01-06 · 0 comments
  42. Its current support in .NET Core and closed issues with won't fix. https://github.com/dotnet/csharplang/discussions/158
    comment by pjmlp · 2020-12-27 · in Ruby 3.0
  43. My fingers are firmly crossed that DUs make their way into C# 10... https://github.com/dotnet/csharplang/blob/master/proposals/d...
    comment by dgritsko · 2020-10-22 · in OAuth 3
  44. …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
  45. …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
  46. …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
  47. 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
  48. 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
  49. 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)
  50. …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#