stery28 / devschool-homeworks

ING {Dev}School - Java Edition
0 stars 0 forks source link

too much #12

Open cristiantoader opened 5 years ago

cristiantoader commented 5 years ago

Maybe passing in the accumulator and identity for the collect is a bit much. It is starting to look like you're inlining all stream operations in a method call, rather than parameterizing the stream operations.

https://github.com/cosmin-sterian/devschool-homeworks/blob/44db3572235be6c2048d4d0d18245c6ba3a43515/backend/session-4/Java8Assignment/src/main/java/com/ing/devschool/Java8Assignment.java#L189