GithubHelp home page GithubHelp logo

smartherd / kotlintutorial Goto Github PK

View Code? Open in Web Editor NEW
239.0 24.0 190.0 80 KB

Learn Kotlin programming from scratch

Kotlin 99.31% Java 0.69%
kotlin kotlin-native kotlin-language kotlin-library kotlin-coroutines kotlin-android android object-oriented-programming functional-programming

kotlintutorial's Introduction

Kotlin Programming Tutorial for Beginners

Learn Kotlin Programming, its basics and Fundamentals from scratch.

Topics to be covered

  1. Overview
    • Course introduction, prequisites and software required
  2. Installation
    • Install required softwares for Windows, MAC and Linux ( Ubuntu )
  3. Getting Started with Kotlin Programming
    • Run your first app in Kotlin
  4. Exploring Data Types and Variables
    • Data Types and Variables
    • String, Literals and String Interpolation
    • Comments
  5. Constants, Variables and Data Types
  6. Control Flow Statements
    • IF ELSE
    • IF Expressions
    • WHEN Expressions
  7. Loop Control Statements
    • What are Iterators?
    • FOR Loop and how it works
    • WHILE Loop
    • DO WHILE Loop
    • BREAK statements
    • CONTINUE keyword
    • Labelled FOR Loop
  8. Functions and Interoperability
    • Declaring functions
    • Interoperability with Java code
    • Function as Expressions
    • Extension Functions
    • Infix Functions
    • Default Parameters
    • Named Parameters
    • Tailrec Functions
  9. Object Oriented Programming in Kotlin
    • Defining Class and creating Objects
    • INIT block
    • Primary and Secondary Constructors
    • Properties ( Field variables )
    • Inheritance
    • Method and Property Overriding
    • Polymorphism
    • Abstract Class, Property and Method
    • Interface
    • Data Class
    • Object Declaration
    • Enum class
    • Sealed class
    • Companion Object
  10. Functional Programming in Koltin
    • Lambdas
    • Higher-Order Functions
    • Closures
    • 'it' keyword
    • 'with' function
    • 'apply' function
  11. Collections in Kotlin
    • Arrays
    • List
    • Map and HashMap
    • Set and HashSet
  12. Sorting and Filtering
    • "filter" function
    • "map" function
    • Predicates: all, any, find, count.
  13. Kotlin NULL Safety
    • Safe call
    • with Let
    • Elvis
    • Lateinit keyword
    • Lazy delegation and 'lateinit' vs. 'lazy'
  14. Scope Functions
    • with
    • apply
    • let
    • also
    • run
  15. Coroutines
    • What are Coroutines? How are they related to Threads?
    • launch, async, runBlocking, withContext, withTimeoutOrNull,
    • Suspending function
    • Cancellation and Timeouts
    • Cooperative suspending functions and isActive flag
    • Exception Handling in Coroutines
    • Sequential execution of suspending function in Coroutines
    • Concurrency within Coroutine
    • lazy 'async'
    • CoroutineScope and CoroutineContext
    • Dispacthers: Confined dispatcher, Default Dispatcher, and Unconfined Displatcher
  16. Conclusion

Authors

  • Sriyank Siddhartha

kotlintutorial's People

Contributors

smartherd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kotlintutorial's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.