Skip to content

Instantly share code, notes, and snippets.

View MINOSai's full-sized avatar
📱
Feeding biscuits to Android Studio

Yaswant Narayan MINOSai

📱
Feeding biscuits to Android Studio
View GitHub Profile
@MINOSai
MINOSai / gist:e0f39142c5cd6bfc46a9297adcfd4f82
Last active January 10, 2018 19:02 — forked from dodyg/gist:5616605
Kotlin Programming Language Cheat Sheet Part 2

This is a quick guide to Kotlin programming language. The previous part of this guide is here

Object Oriented

fun main(args : Array<String>) {
  class local (val x : Int)
  
  val y = local(10)
 println("${y.x}")
@MINOSai
MINOSai / gist:3d6268459042c3d7512701a8bc5473a6
Last active January 10, 2018 19:00 — forked from dodyg/gist:5823184
Kotlin Programming Language Cheat Sheet Part 1

Intro

Kotlin is a new programming language for the JVM. It produces Java bytecode, supports Android and generates JavaScript. The latest version of the language is Kotlin M5.3

Kotlin project website is at kotlin.jetbrains.org.

All the codes here can be copied and run on Kotlin online editor.

Let's get started.