3 ms·
I know C well, but check out links like these on news sites occasionally. (Just like this story) This book reminded me of an online C tutorial that proceeded t
by drudru11 14y ago
I know C well, but check out links like these on news sites occasionally. (Just like this story)
This book reminded me of an online C tutorial that proceeded to teach C in a functional style. I don't remember if they explicitly stated it was FP when presenting the material.
The style was really clean. The author avoided assignment as much as possible. All variables were initialized as if they were 'let' statements. Variables were
never re-used.
I just can't find the link anywhere.
Does anybody know that web page that I'm referring to?
- e12e 14y agoNot sure if I'm thinking of the same thing, but I believe Cornell's former introduction to computer science used C and a functional style. I'm also unable to find a description online, now. I was handed a few lecture notes by my former professor who interned there in the 90s or so. edit: To clarify, I looked, but couldn't find the notes right now either. Not sure if I still have them.
- e12e 14y agoSome relevant links I did find: "The Function Pointer Tutorials": http://www.newty.de/fpt/index.html http://www.newty.de/fpt/index.html "Functional C" http://eprints.eemcs.utwente.nl/1077/ http://eprints.eemcs.utwente.nl/1077/ "The C Language is Purely Functional" - a satirical, but also, thoughtful post that I don't think has been submitted to HN before (or the search system is rubbish): http://news.ycombinator.com/item?id=4800922 http://news.ycombinator.com/item?id=4800922 or: http://conal.net/blog/posts/the-c-language-is-purely-functional http://conal.net/blog/posts/the-c-language-is-purely-functio...
- deleted 14y ago[deleted]