为什么感觉scala的难度与灵活性远大于java
迷茫
迷茫 2017-04-17 17:24:26
0
1
436

scala的模式匹配、隐式转换、伴生对象伴生类、函数式等....特性要真正完全理解还是很难的

有大神能简单分析对比下jvm下的java和scala?

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(1)
PHPzhong

Personally, I think, Java算得上高级语言中语法糖最少的了,我把这总结为Java的干净,这种干净可以让初学者很容易熟练上手Java,也让Java保持了长期的生命力。因为缺少语法糖,所以JavaPrograms tend to look very clear, and understanding does not require too much brainpower. However, this has pros and cons. The drawback is that sometimes excellent syntactic sugar can speed up development and significantly reduce the cost of development. The amount of code.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!