官术网_书友最值得收藏!

Naming conventions

As a convention, if your file contains a single class, name your file the same as your class.

If your file contains more than one class, then the filename should describe the common purpose of those classes. Use CamelCase when naming your files, as per the Kotlin Coding Conventions: https://kotlinlang.org/docs/reference/coding-conventions.html#naming-rules.

Actually, you don't have to write your code in a file for simple snippets. You can also play with the language online: try http://kotlinlang.org/ or use REPL and interactive shell after installing Kotlin and running kotlinc.

主站蜘蛛池模板: 湖州市| 瓦房店市| 娄烦县| 榆树市| 尖扎县| 明水县| 昭平县| 乌拉特前旗| 运城市| 五华县| 大埔区| 天长市| 西乌| 名山县| 永济市| 星座| 桐柏县| 勐海县| 大名县| 屏南县| 克东县| 龙南县| 连江县| 吉安县| 淮北市| 北票市| 虎林市| 延吉市| 宜丰县| 闽侯县| 科技| 灵山县| 无棣县| 德保县| 北票市| 珠海市| 姜堰市| 阜平县| 景洪市| 昌图县| 韶山市|