SlideShare a Scribd company logo
1 of 28
ことりん入門
FiNC Inc Yuki Nanri
Introduction
Why Kotlin
Things useful(source code)
Summary
~table of contents~
Introduction
• 南里勇気 Yuki Nanri (@neonankiti)
• Android Developer in FiNC.
• Bison
FiNC App
ライフログプラットフォーム
1. ライフログ収集
2. 分析
3. パーソナライズレコメンデーション
Wellness
Survey
Genetic
Blood
Testing
Survey+
Testing
Analysis
Report
Personalized
Solutions & Contents
Experts
Advice
SNSKnowledge
Walk with taking a full swing
3 times Stretch
Scapla stretch 3 times
Vegetables at every meals
Drink water more than 1L
a day
Take a Yogurt in the
morning
• Comprehensive
Results
• Body and mental
status
• Behavior
• Risk of daily habit
tasks
• Recomendation etc.
Fitness Task
FiNC
STORE
Get
Points
• Order made・
Personal
supplement
• Drink
• Smoothy etc.
Points
available in
FiNC app
Adapt PointsReport
Tourism
Healthy
Contents
etc.
Meals Task
Squat 10 timesx3
10 minutes walk Leave half of rice
Start from vegetables at
every meals
Why Kotlin?
きっかけは、今年の3月頃
Why Kotlin?
「Kotlinやりたい」
Why Kotlin?
「え、俺も」
Inside myself
(Bisonの心の中)
Kotln使いたい..
やっぱり新しいもののプロダクション導入怖
い..
何かあったらリリーススケジュールが..
Conclusion
可能な限りリスクを細分化する。
そのためには自分の狭いスコープで考えるより、エキ
スパートに聞こう。
Evangelist says
Kotlin移行への課題ですが
・ツール系でハマりやすい
・Javaの知識はやはり必要
・メンバーのモチベーション ですかね。
文法・機能が優れていることはご存知のとおりですが、地味だ
けどハマると面倒なことがいくつかあるので注意していただけ
ればと思います
What I thought
「なんかいけそう」
Output
• 新機能を全Kotlin化
• Crashが減少
• 他機能開発メンバーも興味を持ち出した。
• Kotlinを試したいので、Testを書くメンバーが微増
Things useful
実際に開発してみて便利だと思ったこと、はまったこと
Todo
https://kotlinlang.org/api/latest/kotlin.test/kotlin.test/todo.html
Todo
https://kotlinlang.org/api/latest/kotlin.test/kotlin.test/todo.html
Typealias
Typealiasとは??
エイリアスは既存の型を別の型として提供でき、関数、コレクション、
コンパニオンオブジェクト、ネストしたクラスなどに適用できます。
トップレベル宣言、メンバー宣言、ローカル宣言をすることができます
が、Kotlin1.1ではトップレベル宣言のみサポートされています。
https://kotlinlang.org/docs/reference/type-aliases.html
Typealias
Typealias
before)
after)
labels
Labelとは??
Kotlinは3つのジャンプ表現を持っています。
- Return
- Break
- Continue
https://kotlinlang.org/docs/reference/returns.html
labels
lambda
ラムダとは??
val doubled = ints.map { it -> it * 2 }
・ラムダ式は、常に中括弧で囲まれています
・そのパラメータは、(もしあれば) -> の前で宣言されます
(パラメータの型を省略してもかまいません)
・本体が -> に続きます(存在する場合)
https://dogwood008.github.io/kotlin-web-site-ja/docs/reference/lambdas.html
lambda
lambda
lambda
lambda
Without label)
With label)
lambda
Summary
• Kotlinを入れて特に困ったことはない。
(compile時間を見る限り、Buildがちょっとだけ遅くなった。)
• 部分導入が可能
• 書き方の選択肢が増えたので、ルールを決めた方がよさそう。
Thank you

More Related Content

Featured

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

ことりん入門

Editor's Notes

  1. 今日はちょっとFiNC Appとは違う話をするよ。
  2. From kotlin 1.13 TODO will highlight the
  3. From kotlin 1.13 TODO will highlight the
  4. 変数型エイリアスは既存の型を別の型として提供でき、関数、コレクション、コンパニオンオブジェクト、ネストしたクラスなどに適用できます。 トップレベル宣言、メンバー宣言、ローカル宣言をすることができますが、Kotlin1.1ではトップレベル宣言のみサポートされています。
  5. エイリアスは既存の型を別の型として提供でき、関数、コレクション、コンパニオンオブジェクト、ネストしたクラスなどに適用できます。 トップレベル宣言、メンバー宣言、ローカル宣言をすることができますが、Kotlin1.1ではトップレベル宣言のみサポートされています。
  6. 関数リテラルも同様に
  7. ジャンプ命令: Return, break, continue. 値も返せるそう。
  8. ジャンプ命令: Return, break, continue. 値も返せるそう。
  9. Subscriberが引数
  10. Subscriberが引数
  11. Manual Distribution takes a lot of time. So I statrted to make it easy automatically. I didn’t have enough time, so today’s one is prologue