it's so .... Come back at night suddenly saw into the huge manuscript, can't help to the three ye, and then nothing did 23 o'clock ...
85th: The powerful expressive battle of the for expression in Scala
Goal:
Comparison and contact of higher order functions (FLATMAP,MAP) and for loops (initial)
Gains:
The back of the For loop is actually called map, but it is more likely to be programmed with a for loop if the statement is concise and expressive two.
MORE:
Run the instance code over and try it out.
------------------------------------------------------------------------------------
information from DT Big Data Dream Factory public account:Dt_spark
DT Big Data Dream factory Scala all videos, PPT and code in Baidu Cloud Disk Link: Http://url.cn/fSFPjS
Scala's classic "85th Lecture: The powerful expressive combat of the for expression in Scala" notes