Skip to content

Instantly share code, notes, and snippets.

View zarathon's full-sized avatar
🕶️
put your face at the sun

Zarathon Maia zarathon

🕶️
put your face at the sun
  • Stealth
  • FOR, CE, BR
View GitHub Profile
@zarathon
zarathon / gist:0575586ad55204b98d80f2c619fcc1dc
Created August 4, 2018 02:28 — 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}")
@zarathon
zarathon / gist:4e3b767f5d77e64a9722e866b520d8bd
Created August 4, 2018 02:28 — 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.