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. …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]…
  2. …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…
  3. https://github.com/dotnet/csharplang/issues/3179
  4. 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
  5. .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
  6. …[4] https://docs.microsoft.com/en-us/dotnet/csharp/nullable-refe... [5] https://github.com/dotnet/csharplang/issues/105
  7. 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…
  8. 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…
  9. …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
  10. …struct Member { public string FirstName { get; set; } public List<Book> Books { get; set; } } [0]: https://github.com/dotnet/csharplang/issues/3630
  11. > (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
  12. 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
  13. 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
  14. 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
  15. …".. 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]
  16. https://github.com/dotnet/csharplang/discussions/5735 here is a discussion about this feature.
  17. 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
  18. …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...
  19. …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
  20. …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
  21. 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
  22. 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
  23. …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
  24. …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…
  25. 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
  26. …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
  27. 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
  28. 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
  29. …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
  30. …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
  31. …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
  32. 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
  33. 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
  34. 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)
  35. …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#
  36. It seems Microsoft is doing .net Java introp: https://github.com/dotnet/csharplang/issues/2517
  37. …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
  38. …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
  39. …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
  40. …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
  41. Here https://github.com/dotnet/csharplang/issues/339
  42. …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
  43. …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…
  44. …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#
  45. 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#
  46. 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#
  47. 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
  48. …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
  49. …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]
  50. …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]