강의

멘토링

로드맵

BEST
Programming

/

Programming Language

Coroutine that finishes in 2 hours

Coroutine, the essential library for asynchronous programming! Learn the concept, usage, and internal principles of coroutines all at once!

(5.0) 63 reviews

1,151 learners

  • lannstark
3시간 만에 완강할 수 있는 강의 ⏰
코틀린
코루틴
Kotlin
coroutine
kakao-tech

Reviews from Early Learners

What you will learn!

  • You can see how coroutines differ from routines and how they differ from threads!

  • You can understand how to create and use coroutines and how coroutines work!

Kotlin Asynchronous Programming Essentials!
Coroutines, from concept to practice in 2 hours ⏰

Kotlin is a language used in Android development and has recently gained significant traction in backend development. This course delves into the various language features of Kotlin, providing an easy-to-understand approach through numerous examples and hands-on exercises.

Everything You Need to Know About Kotlin Coroutines in 2 Hours

The 2-Hour Coroutine Course, a continuation of the Kotlin Introduction for Java Developers course, will teach you the essentials of coroutines, an essential library for asynchronous programming in Kotlin, in an easy-to-understand manner. Beyond simply explaining how to use coroutines, this course delves into the fundamental concepts of coroutines, their internal structure, and their operating principles, comparing routines with coroutines, and threads with coroutines.


The curriculum
Check it out 📚

Lecture 1. Routines and Coroutines

  • Let's write our first coroutine.
  • Understand the difference between routines and coroutines.

Lecture 2: Threads and Coroutines

  • Understand the difference between processes and threads, and threads and coroutines.
  • Learn how coroutines and threads work together.

Lesson 3: Coroutine Builder and Jobs

  • Understand what a coroutine builder is and learn the characteristics of the three types of coroutine builders.
  • Let's look at the main features of the Job object representing a coroutine.

Lesson 4. Cancellation of Coroutines

  • We'll look at how to cancel a coroutine and how coroutines cooperate with cancellation.
  • Understand how coroutines handle cancellation.

Lesson 5: Coroutine Exception Handling and Job State Changes

  • Learn how to handle exceptions raised in coroutines and the difference between exception handling and cancellation.
  • Understand the state changes of a Job object.

Lesson 6: Structured Concurrency

  • Understand Structured Concurrency, which supports large-scale coroutines.
  • Let's look at how parent-child coroutines collaborate.

Lesson 7. CoroutineScope and CoroutineContest

  • Understand the concepts of CoroutineScope and CoroutineContext.
  • We will learn about manipulating CoroutineContext and its main context, CoroutineDispatcher.

Quarterfinals. Suspending function

  • Understand the effects of the suspend directive and see how you can leverage the suspend function.
  • Let's learn about the suspend functions provided by the coroutine library: coroutineScope, withContext, withTimeout, and withTimeoutOrNull.

Lesson 9: Coroutines and Continuations

  • Understand Continuation, the internal principle of how coroutines work, by coding it yourself.
  • Understand Continuation Passing Style and examine decompiled code.

Lesson 10: Using Coroutines and Conclusion

  • We'll conclude this lecture by briefly examining the areas in which the learned coroutines can be utilized.

Completely organized lecture content
47-page handbook + 186-page PPT!

Focus on your class instead of complicated and cumbersome note-taking!
We provide students with learning materials that thoroughly organize the lecture content so that they can fully understand and review the content.


Preview of course reviews 👀

The course review below is a review of a previous Kotlin lecture by a knowledge sharer.
• Java to Kotlin Starter Guide for Java Developers
• Real-World! Developing a Library Management Application with Kotlin and Spring Boot (Refactoring a Java Project)

★★★★★

The lectures were incredibly informative. The instructor provided tips throughout the lecture on his style and skills, so I gradually gained insights. The explanations were varied, so any questions I might have had were quickly answered. Why? → The explanations, the pros and cons, and the numerous examples... It was the best. I gained more than I paid for, and I could tell a lot of effort went into the PPT presentation! Thank you. (Wo***)

★★★★★

The instructor's overly (perhaps?) humble nature and the lecture content, which oozes depth, are impressive. It was great to be able to cover all the essential development knowledge in one lecture . While it might be challenging as a lecturer, I've been hoping for a series that explores the concept of developing hypothetical requirements that are both practical and essential. Thank you. (Jeong***)

★★★★★

From the content to the pace , this course was perfect for me! Thank you :) (Je***)

★★★★★

I think this is a great course because it saves a lot of time organizing things myself thanks to the examples and well-organized lectures. (go***)

★★★★★

I discovered the joy of Kotlin thanks to meeting you! Even though this is just a review, I'm so grateful. It felt like I met the instructor of my life ! I don't know what your next lecture is, but I definitely plan to take it! (Won***)

★★★★★

As other reviews have said, the lectures are easy to understand. But the best part is how sincerely and thoroughly the instructors answer questions. For example, even simple questions like this ... I'm so touched! (Ah***)


Q&A 💬

Q. What is the lecture practice environment like?

This course uses IntelliJ IDEA for hands-on exercises. Even if you don't use IntelliJ, you should be able to follow the exercises without any issues as long as you have an environment that supports Kotlin and coroutines! 👍

Q. What build tools do you use?

This lecture uses Gradle. While we'll use Gradle to configure the dependencies required for coroutines, you can follow along without any issues using Maven or another build tool.

Q. I'm an Android (or backend) developer. Can I take the course?

Yes! Of course! This course covers the basic usage and principles of coroutines, so if you're familiar with basic Kotlin grammar, you'll be able to follow along without difficulty. Although examples from specific areas are occasionally included, they're used solely to illustrate coroutines.

A great lecture to watch together 📺

Recommended for
these people

Who is this course right for?

  • Anyone who has been interested in coroutines

  • Anyone who needs to do asynchronous programming using Kotlin

Need to know before starting?

  • You need to understand basic Kotlin grammar!

Hello
This is

10,252

Learners

738

Reviews

769

Answers

4.9

Rating

6

Courses

안녕하세요 😊

제가 아는 내용을 이해하기 쉽고, 재미있게 설명드려 여러분들이 성장하실 때 행복함을 느끼는 개발자 최태현입니다.

 

  • (현) 캐치테이블[와드] 소프트웨어 엔지니어

  • (전) 스타트업 소프트웨어 엔지니어 리드

  • (전) 배달의민족[우아한형제들] 소프트웨어 엔지니어

  • (교육활동) Next Step 리뷰어 다수 참여, 공기관 & 스타트업 경진대회 강사 및 멘토, 스파르타 코딩클럽 멘토

  • 한국과학기술원 (KAIST) 졸업

 

Curriculum

All

12 lectures ∙ (1hr 38min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

63 reviews

5.0

63 reviews

  • boki님의 프로필 이미지
    boki

    Reviews 48

    Average Rating 5.0

    5

    100% enrolled

    短時間でコルーチンとは何か簡単ですが確実に学べる講義です 実際にCPS(Contiuation Passing Style)を同様に実装する方法まで良かったです! ありがとう

    • meant0415님의 프로필 이미지
      meant0415

      Reviews 29

      Average Rating 5.0

      5

      100% enrolled

      良い講義ありがとうございます。

      • kjuioqq83987님의 프로필 이미지
        kjuioqq83987

        Reviews 2

        Average Rating 5.0

        5

        100% enrolled

        役に立った :)

        • lannstark
          Instructor

          よく聞いてくれてありがとうep! 😊 役に立ったのはとても良いですね!今後も役立つコンテンツをよく作ってみましょう。ありがとうございます! 🙏

      • djawnstj님의 프로필 이미지
        djawnstj

        Reviews 14

        Average Rating 5.0

        5

        100% enrolled

        コルーチン講義を本当に長く待っていましたが、良い講義を作ってくれてありがとう! 講義時間は短いですが本当に充実した講義のようです。 9強はとても難しいですが、何度も見ながら理解してみるべきですねㅎ 良い講義ありがとうございます!

        • lannstark
          Instructor

          こんにちはジュンソ〜〜うわー初受講!本当にありがとうございました! 😊 はい、そうです!難しくて見知らぬ概念である「コルーチン」をすばやく理解して使用することに焦点を当てました。 9強のような場合はContinuationを活用する感じだけ理解してもコルーチンを使うのにはるかに理解度の高い活用ができます! 👍頑張ってくれてありがとう〜〜今日も幸せな一日になろう! 🙏

      • answjdtn989443님의 프로필 이미지
        answjdtn989443

        Reviews 2

        Average Rating 4.5

        5

        100% enrolled

        Limited time deal ends in 5 days

        $1,548.00

        25%

        $13.20

        lannstark's other courses

        Check out other courses by the instructor!

        Similar courses

        Explore other courses in the same field!