Inflearn brand logo image
Inflearn brand logo image
Inflearn brand logo image
Programming

/

Programming Language

Kotlin Functional Programming - Introduction

This is a lecture for beginners in Kotlin functional programming. After learning the syntax related to functional programming, you will learn what side effects, pure functions, and referential transparency are, and how to pass functions back and forth and use them in practice.

(5.0) 5 reviews

96 learners

  • seyol
함수형
Functional Programming
Kotlin
functional
oop

Reviews from Early Learners

What you will learn!

  • Kotlin Functional Programming Syntax

  • Basic theory of functional programming (side effects, pure functions, etc.)

  • Practical techniques for functional programming that can be used in practice

  • How to use object-oriented and functional programming together

🔥 Early bird special + special price in progress!

Functional programming starting from 38,500 won -> 28,875 won (30% discount with Inflearn open coupon)

🚨 Hurry up!

  • Automatically ends when 300 students are reached


  • Future updates are also provided free of charge

  • After the early bird ends, the price will increase to 49,500 won.

Now is the cheapest opportunity! 🎯

The world of functional programming starting with pure functions! 🚀

Functional programming, essential in practice, now learn it with Kotlin!

Are you having these concerns? 🤔

  • Functional programming, I don't know where to start

  • I want to learn functional programming that I can use immediately in my work.

  • Monads are still difficult! I want to learn them step by step from the basics.

  • I want to make my code more secure and maintainable.

Preview the lecture 👀

Learn the core of functional programming, “Side Effects and Pure Functions”!

// Before: Code with side effects fun orderCoffee (paymentCard: PaymentCard ) : Coffee { val coffee = Coffee() paymentCard.charge(coffee.price) // Side effect: Card payment return coffee } // After: Pure function with side effects removed fun orderCoffee (paymentCard: PaymentCard ) : Order { val coffee = Coffee() val transaction = Transaction(paymentCard, coffee.price) return Order(coffee, transaction) }

💡 Two codes that look similar at first glance,
But one is dangerous and one is safe.
If you're curious about the difference, check out the lecture!

A world of pure code led by the functional paradigm 🌟

To avoid getting lost in complex business logic,
We need a compass called pure functions.

Minimize state changes,
Pure functions maximize,
Safe with referential transparency.

Create better code with the functional programming paradigm.

In this lesson, you will learn! 📚

Section 0⃣ Lecture Introduction

Learn what functional programming is and why you need it!

  • What is the difference between object-oriented and functional?

  • What are the benefits of functional programming in practice?

Section 1⃣ Kotlin Functional Programming Grammar

Learn the basics of functional programming with Kotlin!

  • The functional world starting with lambda expressions 🎯

  • Writing more flexible code with generics

  • The charm of higher-order functions that exchange functions

Section 2⃣ Functional Programming Fundamentals

Let's take a look at the core concepts of functional programming one by one!

  • Why should side effects be avoided? 🚫

  • Creating predictable code with referential transparency 🎯

  • Writing safe code with pure functions

  • Creating flexible functions with currying 🔄

  • In addition to explanations of each concept, a workbook and detailed explanations are provided to help you improve your understanding. You can practice what you have learned right away, making it easier to understand. 🖊

Section 3⃣ Functional Programming in Practice

Learn functional techniques that you can apply to real-world projects!

  • Practical Functional Programming with Payment Systems 💳

  • Creating bug-free code with immutability 🛡

  • Increasing reusability with higher-order functions

📚 Provides abundant learning materials

  • Detailed lecture notes : 18 PDFs (approximately 50 pages), including diagrams and code for key sections

  • Lecture Slides : 42 pages of PPT, visualizing key content

  • All materials are downloadable : learn anywhere, anytime!

I recommend this to these people! 👍

Anyone who knows basic Kotlin grammar
Those who want to apply functional programming in practice
Anyone who wants to write better code

I don't recommend this to these people! 🚫

For those who don't know basic Kotlin grammar
Those who are already proficient in functional programming

Frequently Asked Questions

Q. Is basic knowledge of Kotlin required?

A. Yes, I recommend it to those who know the basic grammar of Kotlin.

Q. Can this be applied directly in practice?

A. Yes! You can experience the actual situations you encounter in the field step by step:

1⃣ Start simple

  • Implementing a basic payment system


2⃣ Add realistic requirements

  • Add a new payment method

  • Applying complex discount policies

  • Code becomes increasingly complex after reflecting real-time policy change requirements

3⃣ Improve functionally

  • Remove side effects

  • Ensuring immutability

  • Improved referential transparency

  • Improve reusability with higher-order functions

💡 Since you will learn with examples similar to real-world environments, you can apply what you learn to your work right away!

Lecture Materials 🛠

  • IntelliJ IDEA (also available with Community Edition)

  • Understanding Kotlin's basic grammar

  • Passion to learn functional programming

Pre-Class Checklist

  • Do you understand the basic syntax of Kotlin?

  • Want to learn the basics of functional programming?

  • Want to learn with practical, applicable examples?

If you checked everything, let's get started! 🎯

🎁 Master Kotlin with Functionality!

If you leave a review after taking more than 50% of the course,
" [Kotlin Grammar to Practice (Java to Kotlin Practice)] " Lecture
We'll give you a 50% discount coupon !

From basics to practice, an introductory course on Kotlin for Java developers
Come see us at a special discount price! 🚀

How to participate

  1. Attend more than 50% of this course

  2. After writing the course review, submit the registration form .

  3. Issuing discount coupons (takes 1-2 days)

From basic grammar to practical Kotlin-like coding methods,
Complete your path to becoming a Kotlin master with functional programming!

Recommended for
these people

Who is this course right for?

  • Those who are familiar with Kotlin grammar

  • People who are struggling to improve complex code

  • If you are interested in functional programming

Need to know before starting?

  • Understanding the Basics of Kotlin Grammar

Hello
This is

311

Learners

16

Reviews

17

Answers

4.7

Rating

2

Courses

Learn, Share & Communicate 15년차 개발자 양세열입니다.

SI 환경에서 IT서비스, 사내시스템에서 핀테크까지 폭넓은 개발환경에서 다양한 비즈니스를 경험했습니다.

개발하면서 유지보수성과 확장성에 관심이 많으며, 학습과 지식전파에 많은 괌심을 갖고 있습니다.

 

  • (현) 카카오 계열사, (전) LG CNS, POSCO ICT, NTS

  • (교육활동) 패스트캠퍼스, 제로베이스 부트캠프 온라인 강의 및 온오프 강연 진행

Curriculum

All

31 lectures ∙ (5hr 51min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

5 reviews

5.0

5 reviews

  • Country님의 프로필 이미지
    Country

    Reviews 8

    Average Rating 5.0

    5

    100% enrolled

    코틀린을 자바처럼 썼었는데, 이해하기 쉽게 코틀린 & 함수형 프로그래밍에 대해 설명해 주셔서 좋았습니다. 중급편도 기대됩니다~

    • 양세열
      Instructor

      Country님 소중한 수강평 너무나 감사드립니다😃 저도 현재 실무에서 다양하고 더 복잡하지만 간결하게(?) 함수형 프로그래밍을 사용하고 있는데요. 이걸 어떻게 전달해드리면 이해하기 쉽고 다양한 곳에 적용이 가능할지 고민을 하고 있습니다 ^^ 잘 전달해드리는 방법의 고민이 끝나면 꼬옥 중급 함수형 프로그래밍 강의로 돌아오겠습니다. 더 멋지고 유지보수성 높은 코드로 성공적인 커리어 만들어가시길 응원하겠습니다~!

  • Tommy Kim님의 프로필 이미지
    Tommy Kim

    Reviews 1

    Average Rating 5.0

    5

    35% enrolled

    이강의는 코틀린 입문자들이 함수형 프로그래밍의 개념부터 실무 활용까지 자연스럽게 익힐 수 있도록 잘 설계되어 있습니다. 함수와 람다, 제네릭 타입 등 기본 문법을 친절하게 설명해주고, 부수효과와 참조 투명성 같은 함수형 프로그래밍의 중요한 개념도 쉽게 이해할 수 있도록 예제를 제공합니다. 특히 실무 사례를 통해 배운 내용을 어떻게 적용할 수 있는지 보여주는 부분이 매우 유용했습다. 함수형 프로그래밍의 기초를 다지고 싶은 코틀린 초보자에게 추천합다!

    • 양세열
      Instructor

      Tommy님, 정말 상세한 수강평 감사드립니다! 🙏 함수형 프로그래밍을 처음 접하시는 분들도 자연스럽게 이해하고 실무에 적용하실 수 있도록 구성하는데 많은 고민을 했는데, 그 의도가 잘 전달된 것 같아 너무 기쁩니다. 😊 특히 실무 사례 부분이 도움이 되었다는 말씀을 들으니 더욱 보람이 느껴지네요^^ 앞으로도 더 좋은 강의로 보답하도록 하겠습니다! 다시 한 번 소중한 피드백 감사드립니다. ✨

  • 민준수님의 프로필 이미지
    민준수

    Reviews 6

    Average Rating 5.0

    5

    74% enrolled

    코틀린을 정식적으로 배우지 않고 단순히 사용만 하다가 좀 제대로 배워보고 싶어서 수강했는데 너무 좋은 것 같습니다!

    • 양세열
      Instructor

      민준수님 소중한 수강평 감사합니다! 코틀린은 함수형 프로그래밍을 더욱 자연스럽게 지원하고 있습니다. 간결한 문법, 불변성 지원, 간편해진 고차함수 활용법 등을 활용하시면 더 보기좋고 관리하기에도 좋은 코드를 작성하실 수 있을 거예요. 강의의 샘플 코드에 사용한 kotest 같은 부분도 실무에 적용해보시면 테스트 코드 작성이 더욱 즐거워질 것 같습니다. 더 궁금하신 점 있으시면 언제든 편안하게 질문해주세요! 🚀 소중한 수강평 정말 감사드립니다. 😆

  • cglee079님의 프로필 이미지
    cglee079

    Reviews 1

    Average Rating 5.0

    5

    52% enrolled

    자바에서 코틀린으로 코드를 전환중인데 많은 도움을 받았습니다! 단순히 코틀린 문법을 사용하는게 아니라 코틀린의 함수형 기법을 사용해서 개선하면서 코틀린은 제대로 활용 할 수 있다는 자신감이 생겼습니다!

    • 양세열
      Instructor

      cglee079님 첫 수강평 감사드립니다! 🙏 긴장하며 수강평을 기다려왔는데 제 의도가 잘 전달된 것 같아 너무 기쁩니다! 코틀린은 자바 코드를 안전하게 다룰 수 있게 해줄 뿐만 아니라, 함수형 프로그래밍도 훌륭하게 지원해서 더욱 강력하고 안전한 코드를 만들 수 있죠. 자바에서 코틀린으로 전환하는 것만으로도 큰 도전인데, 거기에 함수형까지 적용하시면서 자신감을 얻으셨다니 정말 뿌듯합니다! 😄 함수형의 장점을 활용하시면서 코드가 더 안전하고 깔끔해지는 경험을 하고 계실 것 같네요. 앞으로도 함수형의 매력에 더 빠져드실 거예요! ✨ 혹시 함수형으로 적용하시면서 어려운 부분이 있으시다면 언제든 편하게 질문해주세요. 제가 아는 선에서 최선을 다해 도움드리도록 하겠습니다. 앞으로도 실무에 바로 적용할 수 있는 좋은 내용으로 찾아뵙도록 하겠습니다. 즐거운 크리스마스와 연말 보내세요! 🎄

  • 건우 유님의 프로필 이미지
    건우 유

    Reviews 38

    Average Rating 5.0

    Edited

    5

    32% enrolled

    가볍게 듣기 좋아요!

    $29.70

    seyol's other courses

    Check out other courses by the instructor!

    Similar courses

    Explore other courses in the same field!