Created
January 19, 2009 01:51
-
-
Save jamesgolick/48838 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 20:56 _W_: jamesgolick, if you're giving a talk, perhaps you should use a language you know better as an example language? | |
| 20:57 _W_: jamesgolick, still, java probably shouldn't be one of those | |
| ... | |
| 20:57 jamesgolick: _W_: afraid I'll give Java a bad name? | |
| ... | |
| 20:57 _W_: afraid people who actually know java will laugh at you |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 20:44 jamesgolick: I'm trying to write a maybe monad ... I realize it's not possible to write one that is entirely generic... any pointers? something already written would be great :-) | |
| 20:45 surial: As in, a maybe object that includes support to run a code block but only if the Maybe holds a some? | |
| 20:45 surial: ~functionaljava | |
| 20:45 javabot: surial, functionaljava is a library to provide common types from functional programming in Java 5.0, the BGGA prototype for Java 7 and for Scala - http://functionaljava.org/ | |
| 20:45 surial: I bet there's something in there. | |
| 20:47 surial: Hmm.. no Maybe. | |
| 20:47 surial: I really thought it was in there. | |
| 20:47 jamesgolick: surial: man it is insanely hard to write in java | |
| 20:47 surial: Well, if you are willing to work with anon.inner class limits, I think you can cook one up, no? | |
| 20:47 jamesgolick: hmm, using that syntax, maybe | |
| 20:48 jamesgolick: I was thinking more like: Maybe.try(object, "methodName", args[]) | |
| 20:48 jamesgolick: but, anon inner class would work better... been a long time since I java'd | |
| 20:49 surial: "methodName"? why in fuck's fine name would you do something that stupid? | |
| 20:49 surial: It's java. | |
| 20:49 surial: It's not fucking python. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment