example improvement in chapter-cluster
Closed this issue · 2 comments
duffqiu commented
Hi, in this chapter, in "JobMaster.scala", the merge function can be simple because we can use reduceLeft instead of foldLeft.
RayRoestenburg commented
Pull request? I'm very lazy ;-)
RayRoestenburg commented
Can be re-opened if anyone is interested to simplify.