Re:John Carmack on Functional Programming (2013) [video]
by keymone on Thursday August 17, 2017 @11:05AM
(#15037404)
this is a best video to explain to your C++ friend why functional programming is worth it even in gamedev world.
[ Parent
| on HN ]
Re:John Carmack on Functional Programming (2013) [video]
by pjmlp on Thursday August 17, 2017 @12:35PM
(#15038274)
C++ has been getting functional programming goodies since C++11.
Nowadays with C++17, functional programming in C++ is a common talk subject at C++ conferences.
Re:John Carmack on Functional Programming (2013) [video]
by keymone on Thursday August 17, 2017 @12:59PM
(#15038533)
that's nice, but generally speaking the mindset is still very much imperative.
Re:John Carmack on Functional Programming (2013) [video]
by pjmlp on Thursday August 17, 2017 @01:54PM
(#15039114)
Well, it is still a huge fight to get many devs to stop writing "C with C++ compiler" style anyway.
The C++ community that cares about C++Now, CppCon, ACCU kind of material, does care about applying functional programming ideas to their daily coding.
Re:John Carmack on Functional Programming (2013) [video]
by f00_ on Thursday August 17, 2017 @01:59PM
(#15039160)
is it bad that I prefer C to all the shit in C++?
Now I don't even write C/C++ regularly, so my opinion is probably shit. But I really like the simplicity of C over all the features of C++.
Re:John Carmack on Functional Programming (2013) [video]
by pjmlp on Thursday August 17, 2017 @02:47PM
(#15039633)
What is so simple about more than 200 documented cases of UB and all the ways one can write unsafe code without even knowing about it?
C++ has stronger type safety, offers the libraries and language features to only go down to C like unsafe coding as last resort.