Advertisement
MrBIMC

Untitled

Jun 14th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 1.22 KB | None | 0 0
  1. Plan:
  2.  
  3. - oh hai there
  4.  
  5. - why would anyone want to switch off java?
  6. -- verbosity
  7. -- nullability
  8. -- [android-specific] No native streams until minapi 26 (can be solved by streamsupport lib -> + 6315 dex)
  9. -- [android-specific] No try-with-resources until minapi 19 (fixable with retrolambda)
  10. -- [android-specific] No javax time (fixable by jodatime -> + 5234 dex)
  11. --
  12.  
  13.  
  14. - Crash course to kotlin
  15.  
  16. -- what is kotlin?
  17. --- postfix types
  18. --- type inference
  19. --- function syntax
  20. --- vals and vars
  21. --- nullability (?, ! and !!)
  22. --- operator overload
  23. --- closures (let, with, apply for example)
  24. --- parameter overloading and constructors
  25.  
  26. -- language features
  27. --- extension functions
  28. --- companion objects
  29. --- delegates
  30. --- coroutines
  31. --- data classes
  32. --- type aliases,
  33. --- inline functions
  34. --- string interpolation
  35. --- functional vs imperative loops
  36. --- reifed generics
  37. --- how kotlin works with primitives
  38.  
  39.  
  40. - android specific things:
  41. -- kotlinx
  42. -- anko-common
  43.  
  44. - afterwords
  45. -- kotlin dex count (6322 dex)
  46. -- what will happen in the future releases?
  47. -- don't rely on auto-conversion tool
  48. -- don't read android docs in kotlin just yet as most of were them generated via auto-conversion tool
  49.  
  50. - das ist das ende
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement