News for hackers. Stuff that matters.
Re:C++20 has been approved by bcrosby95 on Sunday September 06, 2020 @11:43AM (#24392107)
LINQ is cleaner, but I find streams to be more elegant when considering the language as a whole (its just a pure library - no new syntax/rules/etc to learn).

I feel like a lot of languages these days trend towards "kitchen sink" languages that toss in everything and the kitchen sink in the name of clean looking code. IMHO this tends to sacrifice language elegance. This is probably why I tend to like languages like Java/Go/Clojure.

Re:C++20 has been approved by thelazydogsback on Sunday September 06, 2020 @12:07PM (#24392288)
There is not new syntax for LINQ either -- it's just fluent-style via extension methods. I don't know many people that use the SQL-like syntax any more -- and it only covers a tiny amount of the functionality.
Re:C++20 has been approved by fomine3 on Monday September 07, 2020 @03:57AM (#24397511)
Honestly I've forgotten sql-style LINQ exists. Method-style is common.