greptilian logo

IRC log for #friendlyjava, 2019-03-12

##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
00:04 pdurbin aditsu: happy with all these newish Java features? Lambdas and such?
00:04 aditsu lambdas are awesome, streams not so much
00:08 pdurbin What's wrong with streams?
00:09 aditsu they're very complicated and clumsy.. you have to stream a collection, do things with the stream, then collect it back into a list or something
00:10 aditsu they added like a zillion new classes and methods
00:10 aditsu and extremely laborious ways of doing stuff that's trivial in other languages
00:10 kirua how do i transfomr this : Collectors.mapping(type -> type.getIndex(), Collectors.toList()))
00:10 pdurbin I guess they're trying to do map reduce.
00:11 kirua type::getIndex ?
00:11 aditsu kirua: TypeClass::getIndex
00:12 aditsu I wrote map and reduce with Lists, it's much nicer
00:13 kirua joined ##friendlyjava
00:13 aditsu it makes sense to also have something that works with a stream type of thing (which they already had several implementations of - see http://irclog.greptilian.com/friendlyjava/2018-12-01#i_240656 ), but sometimes you just want something simple
00:15 aditsu also, http://irclog.greptilian.com/friendlyjava/2018-11-03#i_239847 :)
00:18 aditsu guess I haven't really changed my mind since http://irclog.greptilian.com/friendlyjava/2017-05-21#i_207222
00:21 pdurbin :)
00:23 aditsu I also haven't had to deal with any code that uses particular java 8 features so far
00:23 aditsu so I'm just using what I like
00:24 aditsu oh, I've made use of default methods, they're quite handy, even if a little tricky
00:26 pdurbin Mostly, we're not using Java 8 features at work yet. Just a bit here and there.
00:29 aditsu https://sourceforge.net/p/depeche/depeche/ci/default/tree/src/net/aditsu/depeche/expr/ShortcutBooleanOp2.java
00:32 aditsu huh, just realized "public" is redundant
00:33 aditsu guess I'm too used to using it when I have a method body
01:14 pdurbin cool
04:04 nanoz joined ##friendlyjava
06:12 deavmiLaptop joined ##friendlyjava
06:55 kirua joined ##friendlyjava
10:47 deavmiLaptop joined ##friendlyjava
11:41 deavmi joined ##friendlyjava
14:03 mr_lou joined ##friendlyjava
15:43 misthalu joined ##friendlyjava
15:48 nanoz joined ##friendlyjava
17:53 mr_lou joined ##friendlyjava

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

##friendlyjava on freenode