|
@
kotlin
|
|
Statically typed programming language targeting JVM, Android, JavaScript & Native / Sponsored and Developed by @JetBrains
|
|
|
1.120
Tweetovi
|
1
Pratim
|
80.727
Osobe koje vas prate
|
| Tweetovi |
|
Kotlin
@kotlin
|
30. sij |
|
If you get lost inside nested scopes, remember that 'this.' always refers to the innermost one, which is useful for making sure something comes from the current scope instead of being inherited from an outer one. #KotlinTips pic.twitter.com/XLUtKPUmQO
|
||
|
|
||
|
Kotlin
@kotlin
|
29. sij |
|
Do you use, or are you considering, Ktor? Find more details about the Ktor 1.3 release in this blog post. And please take part in the survey about Ktor! blog.jetbrains.com/kotlin/2020/01… pic.twitter.com/zED2JNkAjz
|
||
|
|
||
|
Kotlin
@kotlin
|
28. sij |
|
Use the combination of safe cast and ‘let’ to only perform an action if the expression has a specific type #KotlinTips pic.twitter.com/yQmy6CyhE6
|
||
|
|
||
|
Kotlin
@kotlin
|
23. sij |
|
Use ‘it’ only in the simplest scenarios, when its type is clear from the context. Otherwise, introduce an explicit lambda parameter or use member references. It’s especially important for call chains where the lambda parameter type changes from one call to the next #KotlinTips pic.twitter.com/Z8ZFvfbAv7
|
||
|
|
||
|
Kotlin
@kotlin
|
23. sij |
|
The Kotlin Census is out. Please take the survey and help the team understand how you used Kotlin in 2019. What did you love? What challenged you? Answer here kotl.in/census pic.twitter.com/53X8tJnXl0
|
||
|
|
||
|
Kotlin
@kotlin
|
21. sij |
|
📣Call for #kotlinmultiplatform use cases!
Have you tried Kotlin Multiplatform for your mobile app? Please tell us about it. We are looking for people who are up for a short, use-case interview.
If you’re interested, please reply to this tweet with the name of your application.
|
||
|
|
||
|
Kotlin
@kotlin
|
21. sij |
|
The Kotlin/JS Gradle plugin ships with webpack-dev-server. Together with Gradle continuous builds (using the "-t" run configuration argument in IntelliJ IDEA or by invoking ./gradlew -t run), you can have your page reload automatically whenever you change your code. #KotlinTips pic.twitter.com/Xzx5744G9Q
|
||
|
|
||
|
Kotlin
@kotlin
|
15. sij |
|
Curious about what font we’ve been using for #KotlinTips all this time? It’s the new font from JetBrains: JetBrains Mono! jetbrains.com/lp/mono/ pic.twitter.com/8nkoXv7jLL
|
||
|
|
||
|
Kotlin
@kotlin
|
14. sij |
|
Run the "Show Kotlin Bytecode" action and then click on "Decompile" to check how something is implemented under the hood and see the Java code that corresponds to the Kotlin code #KotlinTips pic.twitter.com/JK8vRiORn3
|
||
|
|
||
|
Kotlin
@kotlin
|
10. sij |
|
You can read more about scratches and worksheets in the documentation: kotlinlang.org/docs/tutorials…
|
||
|
|
||
|
Kotlin
@kotlin
|
10. sij |
|
If you would like to share these scratch files and store them in version control, use worksheets instead #KotlinTips pic.twitter.com/ZQoDJSdu60
|
||
|
|
||
|
Kotlin
@kotlin
|
10. sij |
|
Use scratch files to perform small experiments with your codebase #KotlinTips pic.twitter.com/nPdfjxoUCu
|
||
|
|
||
|
Kotlin
@kotlin
|
8. sij |
|
To write typesafe HTML directly inside your Kotlin code, use the kotlinx.html library. This is especially useful when building apps for the browser using Kotlin/JS! #KotlinTips pic.twitter.com/1WRMJBsnIG
|
||
|
|
||
| Kotlin proslijedio/la je tweet | ||
|
KotlinConf
@kotlinconf
|
31. pro |
|
All talks from KotlinConf 2019 are now available online kotlinconf.com/talks/
Happy New Year to everyone and we'll see you in 2020!
|
||
|
|
||
| Kotlin proslijedio/la je tweet | ||
|
Shelby Cohen
@shelbyc0hen
|
24. pro |
|
I just published What the Flow? on @Medium! Read and let me know what you think! #ReactiveProgramming #KotlinFlow #ProjectReactor @kotlin @springframework
medium.com/@shelbyc0hen/w…
|
||
|
|
||
|
Kotlin
@kotlin
|
24. pro |
|
Escape callback hell when consuming APIs by using coroutines when building your applications. When you're using Kotlin/JS, coroutines play nicely with promise-based browser functionality, such as window.fetch or Body.json. #KotlinTips pic.twitter.com/A8krEUGgb0
|
||
|
|
||
|
Kotlin
@kotlin
|
20. pro |
|
Are you wondering if Kotlin can be used for data science? In a word, yes! Here’s a status update on the Kotlin tools, libraries, roadmap, and other useful resources for data science that you can already use today. blog.jetbrains.com/kotlin/2019/12…
|
||
|
|
||
| Kotlin proslijedio/la je tweet | ||
|
Tagir Valeev
@tagir_valeev
|
17. pro |
|
So here's idiomatic range iteration in #Java and in #Kotlin. One may say that the Java way is just a little more verbose while Kotlin provides syntactic sugar to express the same thing. But even integer ranges as first-class citizens is more than just sugar. pic.twitter.com/vFLeYjqQjt
|
||
|
|
||
|
Kotlin
@kotlin
|
17. pro |
|
Use 'as' to rename the declaration when you import it: #KotlinTips pic.twitter.com/9eqnNtNCDS
|
||
|
|
||
|
Kotlin
@kotlin
|
10. pro |
|
When debugging, you can modify the variable value directly: #KotlinTips pic.twitter.com/48itDVZ6zg
|
||
|
|
||