/100-days-of-kotlin

100 days learning the Kotlin World

Primary LanguageKotlinApache License 2.0Apache-2.0

100 Days Of Kotlin

Custom image

What is this?

100 Days Of Kotlin is inspired in #100DaysOfCode initiative and 60 Days Of Go repository, where I learn something new about Kotlin every day during 100 days.

Custom image

This project is a piece of a series called X Days Of Something, which one includes:

Why am I doing this?

Well, writing code that works is easy (most of the time). But writing efficient, clear, concise, scalable, and maintainable code is very difficult. It may be better with a lot of practice in various types of problems and paradigms, in addition to having mastery of the language you are coding. Because of that, I decided to code every day to get out of my comfort zone and improve my view about the huge world of software development.

Why Kotlin?

Kotlin is a new promise for Android Development. Since your release, everybody is talking a lot about it. Looking up about this one, I saw that Kotlin is bringing too many benefits over Java and it can become the app development more easier and faster. As an Android Developer, I can't lose this!

So, let's code?

Custom image

Usage

These examples were compiled with Kotlin 1.2.41 and IntelliJ IDEA. It is recommended to install this exactly Kotlin version for a correct running.

Day Title
001 First of all: Hello World!
002 Defining variables
003 Nullable variables
004 Number Type Variables
005 Number type conversions
006 String interpolation
007 String Methods I
008 String Methods II: Indexes, Substrings and Replace
009 String Methods III - String Checks
010 Using conditions
011 Creating Functions I
012 Creating Functions II - Infix
013 Creating Functions III - Local Functions
014 Classes I - Simple classes