News for hackers. Stuff that matters.
Re:C# Raw String Literal Proposal by monadmoproblems on Thursday February 17, 2022 @11:00AM (#30374506)
I've long wanted a more succinct way of writing implicitly typed arrays. Whenever you work with data directly in the code, for example when hacking on leetcode, you end you with lots of horrible nested arrays:

new [] {new [] {1, 2}, new [] {3, 4}};

Something like:

@[ @[1, 2], @[3, 4] ]

Re:C# Raw String Literal Proposal by Metasyntactic on Thursday February 17, 2022 @01:56PM (#30377094)
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!

Re:C# Raw String Literal Proposal by monadmoproblems on Friday February 18, 2022 @09:56AM (#30386504)
You absolute hero!