1# Kotlin in SystemUI 2 3Queue "it's happening" gif. 4 5Kotlin is probably going to be a bit of a wild west for a while, but please 6try to follow these guidelines as much as possible. 7 8 - No semi-colons: they are optional, we probably don't want them in the 9 future, so let's just not add them. 10 - No DSLs: sysui is complicated enough as is, let's not add more layers at 11 the moment. 12 - Only use extension functions for keeping complex code locality: Don't use 13 extension functions to add methods to android classes that you always wished 14 were there, instead add them directly to the class and save us the extension. 15 - inline, reified, and de-compisition can all be great things: just make sure 16 you know what they do and why you are using them. 17 18# Recommended reading 19 20 - [Kotlin](https://kotlinlang.org/) 21 - [AndroidX-KTX](https://www.youtube.com/watch?v=st1XVfkDWqk) 22 - [Performance and Kotlin tricks](https://www.youtube.com/watch?v=6P20npkvcb8) 23