Rahul Singhal
07/08/2022, 5:46 AMDavid Rawson
07/08/2022, 5:50 AMAlthough the scope functions are a way of making the code more concise, avoid overusing them: it can decrease your code readability and lead to errors. Avoid nesting scope functions and be careful when chaining them: it’s easy to get confused about the current context object and the value oforthis
.it
K Merle
07/08/2022, 1:43 PMK Merle
07/08/2022, 1:44 PMval something = x?.let{}
val somethingElse = something.apply{}
...
Rahul Singhal
07/08/2022, 4:09 PM