Return
Styles:
Pseud0ch
,
Terminal
,
Valhalla
,
NES
,
Geocities
,
Blue Moon
.
Pages:
1-
java the hut
1
Name:
Anonymous
2011-11-10 9:27
How does one do function pointers in java without having to make a interface followed by anonymous classes. Is there no way just to do a function? Seems like a waste if I have to make a anonymous class per function
2
Name:
Anonymous
2011-11-10 9:33
You need to use a language that is more fit to functional programming, such as C or a Lisp.
3
Name:
Anonymous
2011-11-10 9:49
>>2
more fit to functional programming, such as C
0/10
4
Name:
Anonymous
2011-11-10 9:57
Isn't
java.lang.reflect.Method
what you're looking for?
5
Name:
Anonymous
2011-11-10 10:20
>>3
C is more fit to functional programming than Java thanks to macros and function pointers.
6
Name:
Anonymous
2011-11-10 10:33
>>5
Sure, but not really.
7
Name:
Anonymous
2011-11-10 10:50
>>1
It's not really a waste. It's just verbose. C# lambdas are under the hood basically like anonymous classes.
8
Name:
Anonymous
2011-11-10 11:05
>>7
C# is shit
Don't change these.
Name:
Email:
Entire Thread
Thread List