Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C is also a functional programming language

Name: Anonymous 2013-11-18 10:44

Why not? I can just avoid side-effects. I can also treat functions as first-order data using Function pointers.

Name: Anonymous 2013-11-24 8:54

>>18

I see nothing in this thread that can't be translated to BASIC or any other imperative programming language. There are ways around even the lack of function pointers, for example using a dispatch table, and once you allow manually closing over free variables with structures as "functional programming" I don't see what makes handcoding a dispatch table any different.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List