![]() ![]() All other whitespace characters in string and character literals are escaped.Is the only whitespace character that appears anywhere in a source file. That describes the contents of the file, apply PascalCase, and appendįun Set.map(func: (T) -> O): List = // …įun List.map(func: (T) -> O): List = // …Īside from the line terminator sequence, the ![]() If a source file contains multiple top-level declarations, choose a name Should reflect the case-sensitive name plus the. If a source file contains only a single top-level class, the file name However, this document focuses primarily on the hard-and-fast rules that we follow universally, and avoids giving advice that isn’t clearly enforceable (whether by human or tool).Īll source files must be encoded as UTF-8. Like other programming style guides, the issues covered span not only aesthetic issues of formatting, but other types of conventions or coding standards as well. A Kotlin source file is described as being in Google Android Style if and only if it adheres to the rules herein. This document serves as the complete definition of Google’s Android coding standards for source code in the Kotlin Programming Language. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |