greptilian logo

IRC log for #friendlyjava, 2015-05-31

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
02:21 HEGX64 joined ##friendlyjava
12:09 pdurbin https://weblogs.java.net/blog/2005/06/27/generics-considered-harmful
12:10 pdurbin via Jacek Laskowski on Twitter: "Veeeeery old, but just to learn how people express their dislike to #generics…Generics Considered Harmful" - https://twitter.com/jaceklaskowski/status/604949589591003137
13:13 aditsu somebody failed at html...
13:14 pdurbin aditsu: see the first comment. that post is so old who knows how much the blogging platform hs changed
13:18 aditsu pdurbin: so, would you say the benefit was worth the cost?
13:24 pdurbin I never really used Java in the pre-generics days. Never beyond hello world anyway.
13:27 pdurbin An architect on our project did some really neat things with generics that blow my mind. It just works. I should spend some more time studying what he did.
13:29 pdurbin "The CreateDatasetCommand returns a dataset. The engine prevents you from assigning the result to a DataFile, for example." http://iqss.github.io/javaone2014-bof5619/#31 (you have to hit "p" to see the notes)
13:30 aditsu I also never did anything significant without generics.. but I occasionally read some non-generic code and it made me cringe severely
13:33 aditsu generics obviously improve type safety at compile time
13:33 pdurbin sadly we have a lot of "unchecked conversion" warnings: https://build.hmdc.harvard.edu:8443/job/apitest.dataverse.org-deploy/46/warnings3Result/ :(
13:35 aditsu I try to keep my projects warning-free; occasionally I have to resort to @SuppressWarnings
13:45 pdurbin aditsu: what kind of warnings would you suppress?
13:48 aditsu pdurbin: mostly "unchecked" and "rawtypes" (but I try to avoid generating them if possible), and "serial" for swing
13:54 pdurbin aditsu: well, I think we can eliminate a lot of these "unchecked conversion" warnings pretty easily.
13:58 pdurbin we have interns coming soon. I'm thinking I'll show how to fix one and let them fix the rest
16:02 aditsu joined ##friendlyjava
17:08 firebird1 joined ##friendlyjava

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode