John Carmack on Functional Programming in C++

MachineCode via Digitalmars-d digitalmars-d at puremagic.com
Sun Nov 16 10:47:14 PST 2014


On Sunday, 16 November 2014 at 18:06:32 UTC, Walter Bright wrote:
> http://gamasutra.com/view/news/169296/Indepth_Functional_programming_in_C.php
>
> Anything John writes is well worth reading, this article 
> included. He includes as shout out to D!
>
> "It seems like there is a sound case for a pure keyword in 
> future C/C++ standards. There are close parallels with const – 
> an optional qualifier that allows compile time checking of 
> programmer intention and will never hurt, and could often help, 
> code generation. The D programming language does offer a pure 
> keyword. Note their distinction between weak and strong purity 
> – you need to also have const input references and pointers to 
> be strongly pure."
>
> On reddit:
>
> https://www.reddit.com/r/programming/comments/2meuco/john_carmack_on_functional_style_in_c/
>
> https://news.ycombinator.com/item?id=8614253

if I knew this article is new and valuble to the D guys I had 
posted it myself. :) I read it a while ago and was re-posted on 
reddit more than twice (at least, I can remember). It's really 
worth reading.


More information about the Digitalmars-d mailing list