- Learn Kotlin Programming(Second Edition)
- Stephen Samuel Stefan Bocutiu
- 78字
- 2021-06-24 14:13:35
Functions in Kotlin
In the previous chapters, we introduced the basics of Kotlin and how to write procedural and object-oriented code. The emphasis in this chapter will be on functions, how to take the first steps into functional programming, and the features that Kotlin supports that makes programming with functions easier.
In this chapter, we will cover the following topics:
- Functions and function literals
- Extension functions
- Named parameters and default parameters
- Operator overloading
- Recursion and tail recursion
推薦閱讀
- Java應用與實戰
- R語言經典實例(原書第2版)
- 自己動手寫Java虛擬機
- JIRA 7 Administration Cookbook(Second Edition)
- Oracle 12c中文版數據庫管理、應用與開發實踐教程 (清華電腦學堂)
- Android底層接口與驅動開發技術詳解
- Java EE 7 Performance Tuning and Optimization
- Python編程:從入門到實踐
- Python機器學習基礎教程
- LabVIEW虛擬儀器程序設計從入門到精通(第二版)
- Android傳感器開發與智能設備案例實戰
- 案例式C語言程序設計實驗指導
- ExtJS Web應用程序開發指南第2版
- 超簡單:Photoshop+JavaScript+Python智能修圖與圖像自動化處理
- C語言程序設計