- Notifications
You must be signed in to change notification settings - Fork0
coderdude1/KotlinDemo
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is a demo of very basic kotin stuff
Kotlin is a language created by Jetbrains (intellij geeks). A few years ago as it really grew in popularity, a new groupcalled the Kotlin Foundation was created to manage the language. A bit after Google announced that kotlin was officiallya supported first class language for Android development. Spring announced around the same time that they added explicitsupport for kotlin in spring boot 2 and spring 5 for functional programming (and included amongst other things a newKotlin DSL for it's endpoints). Kotlin is released under the Apache 2 license
Some interersting links
This was a design goal from the start. This makes it very easy to start mixing kotlin and java, simply add the dependency togradle/maven. A very common starting point for adding Kotlin to a project is replacing DTOs and Pojos, making them actuallyreadable (getter/setter/toString/equals/hashcode/copy are autogenerated, I will show this in a bit)
#Sources and various linksSome places I got ideas of things to talk about##Learning stuff
- Main kotlin site
- Kotlin doc home, with very good guides
- Play with Kotlin online without installing the dev enviornment
- Reference Docs
- Good overview on difference between collection stream and sequence
- Kotlin Tutorials Check out the getting started. It will help you configure your environment
- Kotlin Koans
- Online web IDE tutorial
- Article on key kotlin advantages over java
- Baeldog has a good set of how-to's with kotlin
- Spring and kotlin
- Simple tutorial using spring boot and kotlin
Intellij has native support for Kotlin. Eclipse has a plugin that I've read is pretty good but have not tried it. I've read thatVisual Studio has good support, I assume it wraps around the CLI stuff.
- Ktor - Async webserver andanother guide
- Spek - testing framework supports specification style (Jasmine/RSpec) andgherkin (cucumber)data driven test.Baeldog article on spek
- KotlinLang list of some popular frameworks and libs
- Arrow functional companion to the kotlin stardard lib has several topics including patterns, typeclasses, etc
##Some usage stats
- Jetbrains tracking usages. Note non-android dev is quite high.Breakdown on popular tools, and frameworks for kotlin. Includes a chart showing a breakdown of what platform kotlin is used to develop software for. I tookthis as the intended runtime. Android obviously was the 1st one but linux is very high
About
basic kotlin demo
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.