Live data from Hacker News

Viewing profile — rogerkeays

rogerkeays

HN member
Joined
Tue, Jul 17, 2012, 6:34 AM UTC
HN karma
158
Public activity
62 items

About rogerkeays

No profile information was provided.

Recent public activity

  1. story
  2. 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…

  3. story
  4. comment
  5. comment
    Comment #36720895

    Good point. Actually the plugin didn't handle this case either (fixed now). Thanks for the feedback.

  6. comment
    Comment #36720866

    You don't think it would limit the independent use of f()?

  7. comment
    Comment #36720842

    This language looks really cool. Thanks for sharing.

  8. 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…

  9. comment
    Comment #36719394

    ... not sure if serious or not

  10. comment
    Comment #36719311

    I put Java's popularity down to good support for Corporate-Oriented Programming ;)

  11. comment
    Comment #36719295

    You still get warnings about checked exceptions from this plugin, so it's not entirely flying blind.

  12. 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…

  13. comment
  14. comment
    Comment #36709999

    Good point...

  15. 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…

  16. story
  17. 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…

  18. comment
    Comment #36574789

    OK, sorry.

  19. comment
    Comment #36573473

    and a MyStringBuilderInterfaceProxyFactory too of course

  20. 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…

  21. comment
  22. 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…

  23. comment
    Comment #36572646

    How do you do the same thing to java.lang.String?

  24. 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.

  25. 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…