News for hackers. Stuff that matters.
Re:C++17 Standard Published by pjmlp on Tuesday December 05, 2017 @05:48PM (#15856816)
It still is pretty sweet for polyglot developers.
Re:C++17 Standard Published by VHRanger on Tuesday December 05, 2017 @06:12PM (#15857018)
How so?
Re:C++17 Standard Published by cbsmith on Wednesday December 06, 2017 @01:36AM (#15859053)
There aren't a lot of languages that combine functional programming/generics & OO together quite so extensively. There's a lot of power you can unlock there if you can just manage the cognitive load of the syntax.
Re:C++17 Standard Published by jordigh on Wednesday December 06, 2017 @10:09AM (#15861555)
I really like how D combines these two. The functional programming tools are a lot easier to use than C++ and a lot more practical than Haskell or OCaml. I absolutely adore the idea of purity in D: no side effects. That's all it should be, really. What this means is that it allows you to write pure functions in dirty, imperative ways as long as all the mutation is confined to the function and doesn't leak out.

I really like it.

Re:C++17 Standard Published by pjmlp on Wednesday December 06, 2017 @10:26AM (#15861733)
D is a very nice language, just needs a better GC implementation and more community love.
Re:C++17 Standard Published by cbsmith on Wednesday December 06, 2017 @02:49PM (#15864329)
D is, in a lot of ways, C++ without the syntactical compatibility with C.
Re:C++17 Standard Published by jordigh on Wednesday December 06, 2017 @02:53PM (#15864366)
Absolutely agreed.

D is kind of the C++ I always wanted. It's familiar, I can see the C++ lineage, and it's so much nicer to write than C++.

I'm currently having fun writing Advent of Code in D:

http://inversethought.com/hg/aoc/file/tip/2017

Re:C++17 Standard Published by pjmlp on Wednesday December 06, 2017 @03:10AM (#15859445)
On my case, C++ only gets used to do low level stuff as library to integrate into Java and .NET applications.

So modules and concepts were nice to have, but C++17 is already a very good improvement to write such kind of libraries.