Function Name camelCase (ARCH8002)
هذا المحتوى غير متوفر بلغتك بعد.
Key kotlin.naming.function-name-camelcase · Severity warning · Category naming
Flags function declarations whose name is not lowerCamelCase (backtick names, @Composable and test files excepted).
Incorrect
Section titled “Incorrect”fun Load_Orders() = Unitfun GetUser(id: Int) = idCorrect
Section titled “Correct”fun loadOrders() = Unitfun getUser(id: Int) = idRename the function to lowerCamelCase. Test functions may use backtick names.