강의

멘토링

커뮤니티

BEST
Programming

/

Programming Language

Java開発者向けのコトリン入門(Java to Kotlin Starter Guide)

このレッスンでは、Kotlin言語の特性と背景、文法と動作原理、使い方、JavaとKotlinを一緒に使用するときの注意点などを学ぶことができます。

  • lannstark
Kotlin
Java
oop

学習した受講者のレビュー

受講後に得られること

  • Kotlinの基本的な文法、概念の登場の背景、動作原理、ユースケース

  • KotlinとJavaを一緒に使用する際の注意点

最近大勢のコトリンを勉強したいですか?
Javaベースで学ぶKotlin

このレッスンでは、JavaがKotlinに変更した背景と原則をテーマ別に紹介します。

新しい概念を最初から学ぶよりも、事前に知っている概念に基づいて変わった点を学習する方がはるかに効果的です。 Javaをベースに、Kotlinの文法、動作原理、使い方などを簡単かつ迅速に説明することを目指しています。


単にコトリン文法を一つずつ説明する講義ではありません。

コトリン文法と文法が誕生するようになった背景や理由、言語に対する理解度を高めるための動作原理と使い方を扱います。コトリンコードがどのように見えるかを素早く捉え、コトリンを使ってプロダクトを作ることができるようになります。


こんな方におすすめです!

🙋‍♀️ Javaを学んだことがあります!

この講義はJavaを6ヶ月~1年ほど学んでみた方を対象にKotlinを説明する講義です。
Javaに基づいて、Kotlinで変わる機能は何であるか、Kotlinで新しく作成された機能と文法は、どのような不便な点を解決するためかなどについて説明します。

🙋‍♀️Kotlinを学びたい!

Androidの公式言語Kotlin、サーバーでもますます使用事例が増える言語Kotlin、簡単かつ迅速に学ぶことができます。 Kotlinを初めて学ぶ人を対象とした講義よりもはるかに効果的にKotlinの言語と文法、原則について学ぶことができます。


こんなことを学びましょう。

  • コトリン基礎文法
  • コトリンコードの動作原理
  • コートリン言語を活用するさまざまなヒント
  • JavaとCotlinを一緒に使用するときの注意点

Kotlinのコアカリキュラム、
Lecture プレビュー

Lecture 0 (無料講義)

  • コトリンのための軽いTMI 34をカバーします。

Lecture 1 (無料講義)

  • 変数を宣言する方法とvar、valキーワードを扱います。
  • primitive 型を管理する方法、nullable 変数を宣言する方法について説明します。

Lecture 2

  • nullable変数を利用するさまざまな機能
    • Safe Call, Elvis 演算子, 君ではない断言
  • JavaとCotlinを一緒に使用するときにnull型に関する注意点と対応できる方法

Lecture 3

  • 変数を宣言する方法とvar、valキーワードを扱います。
  • primitive 型を管理する方法、nullable 変数を宣言する方法について説明します。

Lecture 4

  • コトリンに存在するほとんどの演算子について扱います。
  • オブジェクト間の比較、等価性と同一性、演算子オーバーロードの動作について扱います。

Lecture 5

  • if文とwhen文、expressionとstatementについて扱います。

Lecture 6

  • for文とwhile文、コトリンで伝統的なfor文を動作させる原理であるProgrssionについて取り上げます。

レクチャー7

  • try catch finally 構文、checked exception および unchecked exception について説明します。
  • JDK 7で追加されたtry with resourcesについて説明します。

Lecture 8

  • コトリンの関数宣言文法、default parameter、named argument について扱います。
  • 可変引数宣言文法について説明します。

Lecture 9 (無料講義)

  • クラスとプロパティ、コンストラクタ、init blockについて説明します。
  • custom getter/setter と backing field について扱います。

Lecture 10

  • 抽象クラスとインタフェースについて説明します。
  • コトリンから継承するときに注意すべき点と関連キーワードをまとめます。

Lecture 11

  • アクセス制御を行う方法(public、protected、internal、private)について説明します。
  • アクセス制御の違いにより、JavaとKotlinを一緒に使用する際の注意点について説明します。

Lecture 12

  • static 関数と変数、シングルトン、匿名クラスについて扱います。

Lecture 13

  • 入れ子になったクラスの種類と、より良い入れ子になったクラスの作成方法について説明します。
  • コトリンでネストされたクラスと内部クラスを実装する方法について説明します。

Lecture 14

  • Data Class、Enum Class、Sealed Class、Sealed Interface について説明します。

Lecture 15

  • コトリンでの配列とコレクションの使い方を説明します。
  • コトリンとJavaを一緒に使用するときにコレクションに注意することについて説明します。

レクチャー16

  • 拡張関数、infix関数、inline関数、ローカル関数について説明します。

Lecture 17 (無料講義)

  • Javaでラムダが登場した理由を扱います。
  • コトリンでは、ラムダをどのように使用するのか、Javaとの違いは何ですか?
  • Closureという概念と関数の文法を見てみましょう。

レクチャー18

  • コトリンでは、コレクションを関数型として扱うのに役立つAPIをまとめています。

レクチャー19

  • Type Aliasとimport、構造分解、componentN関数について説明します。
  • コートリンに存在するジャンプ機能とラベル機能、メソッドチェーンに使用されるtakeIfとtakeUnless関数について説明します。

Lecture 20

  • コトリンに存在する5つのscope functionについて違いと使い方を扱います。
  • scope functionと読みやすさについて一緒に考える時間があります。

予想される質問 Q&A 💬

Q. Javaを必ず知ってこそ講義を聞くことはできますか?

A. はい、そうです!本講義はJavaを6ヶ月~1年ほど使ってみて「コートリンを学びたいのですが、言語基礎講義は非効率的だと思われる方のために」企画されました。講義でもJavaコードを先にお見せし、それに対応するKotlinコードを紹介します。

Q.なぜJavaを知っている方を対象に企画されたのですか?

A. 新しい概念を学ぶにあたって、従来知っている概念と比較・対応すれば効果的な学習ができると思います。また、私がJavaだけ知っていた状況でKotlinを使用する会社に転職し、感じた困難を解消してくれるコンテンツがあればいいと考えて企画することになりました。

Q. 授業内容をどのレベルまで扱いますか?

A. 授業をすべて聞いたら、Kotlinを利用して95%以上のプログラミングができるようになります。深化内容に該当するリフレクション、DSL、遅延演算と委任、ジェネリックなどは、今後の機会になれば取り上げる予定です。

こんな方に
おすすめです

学習対象は
誰でしょう?

  • 実務でJavaを使用していますが、Kotlinはどのように使用するかをすばやく学びたい人

  • 新しい言語を学ぶことに興味を持っている人

  • Kotlinの理解度を高めたい方

前提知識、
必要でしょうか?

  • Java言語

  • プログラミング言語の若干の理解

こんにちは
です。

10,619

受講生

801

受講レビュー

787

回答

4.9

講座評価

6

講座

안녕하세요 😊

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

 

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

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

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

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

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

 

カリキュラム

全体

24件 ∙ (5時間 13分)

講座資料(こうぎしりょう):

授業資料
講座掲載日: 
最終更新日: 

受講レビュー

全体

319件

4.9

319件の受講レビュー

  • shirohoo41021424님의 프로필 이미지
    shirohoo41021424

    受講レビュー 15

    平均評価 5.0

    5

    96% 受講後に作成

    When I was studying Kotlin, I don't think this lecture existed. If I had this lecture when I was studying Kotlin, I think I could have saved at least a month or more. Even though I studied by looking at all kinds of Kotlin books and documents, I wasted a lot of time on the gap between Java and Kotlin, and I still don't know how to use Kotlin in practice. (My current company doesn't use Kotlin, so I haven't used Kotlin in practice yet...) Anyway, for those who are interested in Kotlin and are studying it after using Java like me, I think this is the best lecture available. I've been using Java for less than two years and studying Kotlin for about two months, and I took this lecture and was able to organize a lot of things. Thank you.

    • lannstark
      知識共有者

      Hello~ Changhoon!!! Wow~ Thank you so much for your words! I think you did a great job making the lecture! Thank you for your support!! I will come back with another great lecture~ ^^

  • tidnj11061263님의 프로필 이미지
    tidnj11061263

    受講レビュー 2

    平均評価 5.0

    5

    100% 受講後に作成

    I am an Android developer. I took this course during the transition period when the company was moving from Java to Kotlin. I studied Kotlin on my own by reading Kotlin books, but I wish I had taken this course. It was really helpful!

    • lannstark
      知識共有者

      Hello~ JeonDev!! I'm so glad that my lecture was helpful to you!!!! I'll come back with a better lecture next time~ Thank you~ ^^

  • dks39630965님의 프로필 이미지
    dks39630965

    受講レビュー 1

    平均評価 5.0

    5

    29% 受講後に作成

    In fact, even if you use Kotlin, you will eventually need to know Java to gain a deep understanding of Kotlin. This lecture was sufficient in this regard by explaining it while directly comparing the same Java and Kotlin code.

    • lannstark
      知識共有者

      Hello! Hongbeomi!! As you said, Kotlin is also compiled to .class, so it seems that you need to know Java to some extent to understand it deeply. Thank you for your good opinion!! I will come back with a better lecture next time~!! ^^

  • today8934님의 프로필 이미지
    today8934

    受講レビュー 5

    平均評価 5.0

    5

    100% 受講後に作成

    I have taken many lectures from Inflearn, and personally, if the total class time exceeds 5 hours, it tends to be too boring, and if it is too short, the lecture content is often lacking. However, this lecture summarizes the key points well, and only covers the necessary details, but it is a really good lecture that is not too long. It was very helpful.

    • lannstark
      知識共有者

      Hello today8934!! Oh my~~ Thank you so much for the great review ㅎㅎㅎㅎ I tried to compress the content that is really necessary and record the details for those who want to learn Kotlin quickly, so I'm so happy that you noticed!! 😄 I will continue to work hard to create content that is compact and full of useful content in the future! Thank you!!! Have a lovely holiday~!!! 🙇

  • 밝은 토끼님의 프로필 이미지
    밝은 토끼

    受講レビュー 3

    平均評価 5.0

    5

    100% 受講後に作成

    I recently started studying Kotlin and took the lecture, and I think it was a really informative and clean lecture. (Those who took the lecture will understand the sentence below) I am writing a review saying that I respect and admire the instructor. ㅎㅎ

    • lannstark
      知識共有者

      Oh my~ Hello Kkugi!! Wow~ Thank you for your valuable evaluation ㅎㅎㅎ I will prepare a more informative and clean lecture next time!! Thank you!!!

¥6,883

lannstarkの他の講座

知識共有者の他の講座を見てみましょう!

似ている講座

同じ分野の他の講座を見てみましょう!