https://kotlinlang.org logo
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
feed
  • t

    thomasnield

    07/11/2018, 5:19 AM
    A narrated walkthrough of the Traveling Salesman Problem, implemented in Kotlin and TornadoFX.

    https://www.youtube.com/watch?v=j1s69yf4a9Y▾

    👍 1
    h
    s
    m
    • 4
    • 4
  • j

    jmfayard

    07/13/2018, 7:13 AM
    Looks like an interesting technique to bring to our code generators https://medium.com/the-fabulous/kotlin-extension-methods-generation-15b5e6499dc8
    👍 7
  • n

    nfrankel

    07/15/2018, 4:43 PM
    https://blog.frankel.ch/spring-boot-migrating-functional/
    👍 2
    e
    • 2
    • 1
  • b

    bruno.aybar

    07/17/2018, 3:35 PM
    Hi! For the folks getting started with Kotlin, I recently wrote this post about annotations. Feedback is welcome! https://medium.com/@bruno.aybar/annotations-for-your-java-friendly-kotlin-code-badfbedec14
    👍 3
    m
    i
    d
    • 4
    • 6
  • s

    Slackbot

    07/20/2018, 12:20 PM
    This message was deleted.
    m
    n
    p
    • 4
    • 4
  • n

    nfrankel

    07/24/2018, 11:56 AM
    https://winterbe.com/posts/2018/07/23/kotlin-sequence-tutorial/
    👍 1
    o
    • 2
    • 3
  • n

    nfrankel

    07/25/2018, 1:17 PM
    https://www.javacodegeeks.com/2018/07/kotlin-dsl-theory-practice.html
    h
    • 2
    • 1
  • n

    nfrankel

    07/25/2018, 4:08 PM
    i’m aware this might be seen as self-promotion 😐 in that case, just skip but it could also be interesting to some

    https://www.youtube.com/watch?v=SstVqJwFxJY▾

    👍 4
    :kotlin: 2
    c
    c
    +2
    • 5
    • 7
  • j

    jishindev

    07/26/2018, 6:39 AM
    https://kotlinquiz.com/
    👍 7
    h
    • 2
    • 1
  • m

    marcinmoskala

    07/26/2018, 7:12 PM
    https://blog.kotlin-academy.com/effective-java-in-kotlin-obsolete-items-thanks-to-kotlin-items-3-4-16-40-61-from-3rd-edition-31952da308f4
    :kotlin: 3
    d
    • 2
    • 5
  • m

    marcinmoskala

    07/28/2018, 5:47 PM
    Not directly about Kotlin, but strongly referencing (and promoting) Kotlin: "Why we will always need new programming languages" https://medium.freecodecamp.org/why-we-will-always-need-new-programming-languages-3415869ea37e
    o
    • 2
    • 3
  • a

    adam-mcneilly

    08/02/2018, 2:00 PM
    I wrote about some hidden gems/things I don't think get explained to new Kotlin devs often enough. https://tech.okcupid.com/hidden-gems-in-kotlin-stdlib/
    💯 4
    e
    j
    • 3
    • 4
  • m

    marcinmoskala

    08/02/2018, 4:10 PM
    Fun with Kotlin and card counting: https://medium.freecodecamp.org/i-used-programming-to-figure-out-how-card-counting-really-works-7ecefdb1b8d4
    t
    c
    • 3
    • 9
  • a

    Andrew Emerson

    08/03/2018, 10:36 PM
    https://www.theregister.co.uk/2018/08/02/kotlin_code_quality/
    n
    • 2
    • 1
  • o

    oleksiyp

    08/04/2018, 8:01 AM
    MockK 1.8.6 now supports verification timeouts http://mockk.io/#verification-timeout #mockk
    👏 11
    a
    k
    • 3
    • 4
  • m

    marcinmoskala

    08/08/2018, 9:34 AM
    https://medium.com/kotlin-academy/effective-java-in-kotlin-item-7-eliminate-obsolete-object-references-9a197b6fb728
    👏 2
    p
    • 2
    • 2
  • o

    orangy

    08/08/2018, 5:15 PM
    Kotlin 12-month growth rate (in unique job postings): 481%
    https://www.economicmodeling.com/2018/08/07/trending-tech-tuesday-kotlin/
    🤔 1
    n
    d
    +2
    • 5
    • 5
  • m

    Mohamed Ebrahim

    08/08/2018, 6:10 PM
    kotlin cheat sheet and
    Full Documentation
    offline on Googleplay: ===================== https://play.google.com/store/apps/details?id=com.vacuum.kotlincheatsheet =====================
    👍 7
    o
    • 2
    • 2
  • r

    Rohit Surwase

    08/17/2018, 2:02 AM
    I have published a new article. This time it is a small but a useful tip. Android RecyclerView onItemClickListener & getAdapterPosition(): A Better Way https://medium.com/@rohitss/android-recyclerview-onitemclicklistener-getadapterposition-a-better-way-3c789baab4db
    s
    d
    • 3
    • 4
  • s

    s1m0nw1

    08/17/2018, 6:22 PM
    Hibernate with Kotlin - Some suggestions https://kotlinexpertise.com/hibernate-with-kotlin-spring-boot/
    👍 5
    c
    • 2
    • 2
  • m

    marcinmoskala

    08/17/2018, 6:43 PM
    https://blog.kotlin-academy.com/effective-kotlin-early-access-program-8e5d0ee9dbcd
    👍 23
    🤩 6
    s
    t
    a
    • 4
    • 7
  • m

    marcinmoskala

    08/20/2018, 4:05 PM
    Kotlin Academy changes name to Kot. Academy and releases new website http://kot.academy/ https://blog.kotlin-academy.com/kotlin-academy-changes-its-name-into-kot-academy-a314df79e23c
    👍 1
    z
    c
    +6
    • 9
    • 21
  • a

    Albert

    08/21/2018, 6:35 PM
    Hi me again, just released 0.1.1. Javalin is now also supported
    🎉 3
    • 1
    • 1
  • d

    dave08

    08/26/2018, 4:52 PM
    Just got this in the O'Reilly Programming Newsletter: https://proandroiddev.com/forget-rxjava-kotlin-coroutines-are-all-you-need-part-1-2-4f62ecc4f99b
    👍 3
    c
    • 2
    • 1
  • s

    suresh

    08/28/2018, 1:22 AM
    https://medium.com/square-corner-blog/okio-2-6f6c35149525
    👏 15
    d
    t
    • 3
    • 3
  • o

    orangy

    08/28/2018, 12:43 PM
    https://blog.karumi.com/our-adventure-using-play-framework-in-kotlin/
    👏 3
    😆 1
    m
    j
    d
    • 4
    • 5
  • d

    Dave Leeds

    08/29/2018, 12:57 PM
    Hello everyone! I’m super excited to share a new article - if you’ve been wondering about Kotlin’s new experimental inline classes feature, this one’s for you! https://typealias.com/guides/introduction-to-inline-classes/
    🔥 6
    🤘 5
    👍 27
    ➕ 1
    j
    • 2
    • 2
  • f

    fuddi

    08/31/2018, 10:31 AM
    http://javapubhouse.libsyn.com/episode-75-lets-get-coding-with-kotlin [Podcast]
    :kotlin-flag: 1
    👍 1
    t
    • 2
    • 1
  • m

    marcinmoskala

    09/03/2018, 6:35 AM
    https://blog.kotlin-academy.com/your-first-selenium-data-scraper-in-kotlin-51ce22083fb9
    j
    • 2
    • 1
  • r

    Raghavendra Rao K

    09/03/2018, 11:58 AM
    Article on features of Kotlin and why we can consider Kotlin as a choice of programming language for the application development. https://www.linkedin.com/pulse/kotlin-game-changer-raghavendra-rao/
    m
    j
    • 3
    • 8
Powered by Linen
Title
r

Raghavendra Rao K

09/03/2018, 11:58 AM
Article on features of Kotlin and why we can consider Kotlin as a choice of programming language for the application development. https://www.linkedin.com/pulse/kotlin-game-changer-raghavendra-rao/
m

marcinmoskala

09/03/2018, 3:08 PM
All you need to make "Hello World" program is:
fun main(args: Array<String>) {
    println("Hello, world!")
}
https://try.kotlinlang.org/#/Examples/Hello,%20world!/Simplest%20version/Simplest%20version.kt
👍 1
You don't need any object. Under the hood this function will be placed in FilenameKt class
j

James

09/10/2018, 8:17 PM
you can make it even better!
fun main(vararg cow: String) {
    println("wow")
}
👍 2
also a null assertion is not the same a null check. one will cause a crash
m

marcinmoskala

09/11/2018, 10:45 AM
Not sure if this is better. Usage is the same, takes as much space and I think it is less clear because type of argument is not explicit. But I still like the fact that it is possible 🐶
r

Raghavendra Rao K

09/17/2018, 8:53 AM
Thanks for these inputs, updated the article with these inputs.
the object for the hello world and in other examples added to indicate the intent of what that class is doing, yeah without the object, main function works👍
m

marcinmoskala

09/17/2018, 8:58 AM
np
View count: 1