kaixueio / kaixue-docs Goto Github PK
View Code? Open in Web Editor NEW码上开学的各种文档集中地
License: MIT License
码上开学的各种文档集中地
License: MIT License
O(∩_∩)O哈哈~ 关注了好久了 一直好想学习kotlin 关注项目了
辛苦了各位,我看到分支中的文章中使用了‘IDE’来描述开发工具,但是“IDE”的意思是“IDE是集成开发环境(Integrated Development Environment)缩写”,而文章明显是指“IntelliJ IDEA”或者“Android Studio”,两者并不是等同的,希望不要误导读者。
🏝️
val sequence = sequenceOf(1, 2, 3, 4)
// 👇下面这一行报错,报错信息: One type argument expected for interface List<out E>
// 👇猜测原因是 result 为 Sequence 类型,但这里声明为了 List
val result: List = sequence
.map { i ->
println("Map $i")
i * 2
}
.filter { i ->
println("Filter $i")
i % 3 == 0
}
👇
println(result.first()) // 👈 只取集合的第一个元素
存在不同意见,作者提到val
和var
的区别在于是否只能赋值一次,个人愚见,val
和var
最主要的区别是在于能否重写set()
和get()
方法。val
是不可重写set()
方法,只可重写get()
,而var
都可重写。
有什么要求吗,通过怎样的渠道报名参与呢?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.