Who needs functional programming...
Name:
Anonymous
2016-11-06 20:00
...when C has function pointers?
Name:
Anonymous
2016-11-06 20:43
Everyone.
Name:
Anonymous
2016-11-07 4:27
>>2it's entirely unnecessary when you can simulate higher-order functions with function pointers
Name:
Anonymous
2016-11-07 4:43
function pointers don't let you close over free variables
Name:
Anonymous
2016-11-07 5:01
You can't do partial function application with function pointers.
Name:
Anonymous
2016-11-07 5:03
>>5under the left adjunction of evaluation that's equivalent to
>>4
Name:
Anonymous
2016-11-07 5:43
Macros are superior to functions in every way
#define myfunc(a,args...) ({closed scope;/*GNU/Freedom*/})
#define myfunc(a,args...) (open scope)
Name:
Anonymous
2016-11-07 10:28
You can write single argument functions that return function pointers.
Name:
Anonymous
2016-11-07 11:25
Functional programming would make sense if C compiler would optimize the function pointer soup it generates(C has restrict and strict aliasing).
Name:
Anonymous
2016-11-07 13:09
>>9What does
functional programming have to do with the dysfunctional language C and its compilers?
Newer Posts