Viewing profile — rogerkeays
rogerkeays
HN member- Joined
- Tue, Jul 17, 2012, 6:34 AM UTC
- HN karma
- 158
- Public activity
- 62 items
- HN profile
- View on Hacker News ↗
About rogerkeays
No profile information was provided.
Recent public activity
- story
-
comment
Comment #40222848
Andrews PW, Thomson JA Jr. The bright side of being blue: depression as an adaptation for analyzing complex problems. Psychol Rev. 2009 Jul https://www.ncbi.nlm.nih.gov/pmc/article…
- story
- comment
-
comment
Comment #36720895
Good point. Actually the plugin didn't handle this case either (fixed now). Thanks for the feedback.
-
comment
Comment #36720866
You don't think it would limit the independent use of f()?
-
comment
Comment #36720842
This language looks really cool. Thanks for sharing.
-
comment
Comment #36719516
You can also rethrow checked exceptions as runtime exceptions by exploiting type erasure: public static RuntimeException unchecked(Exception e) { Exceptions. throw_checked(e); retu…
-
comment
Comment #36719394
... not sure if serious or not
-
comment
Comment #36719311
I put Java's popularity down to good support for Corporate-Oriented Programming ;)
-
comment
Comment #36719295
You still get warnings about checked exceptions from this plugin, so it's not entirely flying blind.
-
comment
Comment #36712033
I think this project shows how trivial it is to convert checked exception errors to compiler warnings. https://github.com/rogerkeays/unchecked/blob/f22c8cde3557de0... No need to ch…
- comment
-
comment
Comment #36709999
Good point...
-
comment
Comment #36709951
Ha, yeh. At first I had the command line examples first, but everyone was going on and on about maven and stuff, so I figured that's what the audience wants. [EDIT] I moved the com…
- story
-
comment
Comment #36584898
The "what to do" and "tests" sections of this article is spot on! As for the sociopath/psychopath distinction, I think both terms refer to people with a Cluster B personality disor…
-
comment
Comment #36574789
OK, sorry.
-
comment
Comment #36573473
and a MyStringBuilderInterfaceProxyFactory too of course
-
comment
Comment #36573454
The JDK team won't like this. As it is Fluent, Lombok, and (I presume) Manifold are using all sorts of unsupported hacks to access compiler internals. If you restrict yourself to t…
-
comment
Comment #36573391
sweet
-
comment
Comment #36573040
IDEs are not my strong point. Aren't they smart enough to just search static methods in the scope of the compilation unit? Okay, so they have to be indexed first I suppose, but sti…
-
comment
Comment #36572646
How do you do the same thing to java.lang.String?
-
comment
Comment #36572518
Nice example. The extra parameters really drive the point home. Hope you don't mind if I steal it for the README.
-
comment
Comment #36572433
I don't know yet. I'm already using some of my own variations of sneakyThrows, but what I really want is just to disable the whole damn thing in the compiler (checked exceptions ar…