Posty

Wyświetlanie postów z wrzesień, 2018

Kotlin- watch

I often in AngularJs use 'watch'. This help in create working code. In kotlin in simple pakage is similar this. https://github.com/mikoxp/kotlin_learn/commit/94b8488976277332a028721bd9ddccd047844bd7

Kotlin - First use - Factorial

Everyone proggramer has favorite first program, me too -> factorial in two version: https://github.com/mikoxp/kotlin_learn/commit/8b8909f30775af4d67db58bddd49a6057e6ab3b2 I think that kotlin is more similar  to java, but the idea of parameters more free. I'm not complaining. Always something new.

Kotlin- simple Java

Obraz
I started to learn Kotlin. And ... This is simple Java- said It is used in Android- said Reminds me... Combo Python and JavaSript. - Not need semicolon and val(var) but It has strong type - This is good. Example simple code: fun main (args : Array<String>) { println ( "Hello, world!" ) val a: Int = 10000 val d: Double = 100.00 val f: Float = 100.00f val l: Long = 1000000004 val s: Short = 10 val b: Byte = 1 println ( "Your Int Value is " +a) println ( "Your Double Value is " +d) println ( "Your Float Value is " +f) println ( "Your Long Value is " +l) println ( "Your Short Value is " +s) println ( "Your Byte Value is " +b) }

Return

I going to writting posts. If  my posts help you, I be happy, but not is Ok. I do not care. For me This is my way to self-improvement.