Learn Kotlin With the Kotlin Team: Advent of Code 2020 #1

Learn Kotlin With the Kotlin Team: Advent of Code 2020 #1

Kotlin by JetBrains

3 года назад

15,269 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@maxtox3
@maxtox3 - 14.07.2021 20:14

Синтаксический сахарок в каждый дом

Ответить
@luckyspiff
@luckyspiff - 14.07.2021 20:21

Thank you for that, that's a fun way to learn the language!

Ответить
@theLoneCodesman
@theLoneCodesman - 14.07.2021 21:20

Прикольно!

Ответить
@clamentjohn
@clamentjohn - 14.07.2021 21:41

Awesome video! Great way to get introduced to the std lib

Ответить
@Mycoola
@Mycoola - 14.07.2021 21:43

Great

Ответить
@TimSchraepen
@TimSchraepen - 14.07.2021 22:55

Yeeeeesssssss!!!!! This is hype!

Ответить
@notkamui9749
@notkamui9749 - 15.07.2021 00:23

Great video ! However, may you activate the automatic subtitles next time ? Sometimes the strong accent is hard to process for non native english speakers ^^'

Ответить
@AlanDarkworld
@AlanDarkworld - 15.07.2021 00:54

groupBy, associateBy, mapNotNull, firstOrNull... all of those can make your code SO much more concise and readable. I use them all the time.

Ответить
@VsevolodBrekelov
@VsevolodBrekelov - 15.07.2021 01:31

Thank you for such nice explanations and idea of getting into several solutions for adventure of code with providing nice way of writing code in Kotlin! Btw good sound quality and perfect animations! 👍 Thank you!

Ответить
@PaulMichaelReilly
@PaulMichaelReilly - 15.07.2021 10:25

This video and exercise was very, very helpful in learning more idiomatic Kotlin. Please do more. Lots more.

Ответить
@vengateshm2122
@vengateshm2122 - 15.07.2021 12:55

Very well explained
1. Problem statement
2. Implementation
3. Adoption kotlin style

Thank You. Expecting more.

Ответить
@MilviusMartyr
@MilviusMartyr - 15.07.2021 20:38

Super fun! Go on

Ответить
@vishalgaurav4411
@vishalgaurav4411 - 15.07.2021 21:55

What is the time complexity of the explained solution?

Ответить
@raonirodrigues3910
@raonirodrigues3910 - 15.07.2021 22:46

Very Nice! More more!

Ответить
@ZordidMuc
@ZordidMuc - 16.07.2021 15:31

Great stuff! Both Kotlin and AoC are the coolest! I've been solving my AoC puzzles using Kotlin since 2017! :-)

Ответить
@gurramharish12
@gurramharish12 - 17.07.2021 05:15

Very useful video to learn kotlin. Expecting lot more videos like this!!.
Thank You for the work you are doing to educate people.

Ответить
@TomCKuhn
@TomCKuhn - 19.07.2021 11:14

This is an invaluable resource to help both new and experienced developers think critically about their code structured around concrete examples

Ответить
@Morum01
@Morum01 - 22.07.2021 15:11

Great! Just would've liked to see how much efficient is each solution.

Ответить
@aryaman_godara
@aryaman_godara - 26.07.2021 13:35

even being such a good content , she makes me feel sleepy. I would recommend to change the host to some enthusiastic person.

Ответить
@SuegroLM
@SuegroLM - 01.08.2021 00:05

Amazing both content and host, she explained it concisely, pointed out improvements, and introduced me to these Associate methods to work with collections, I'm still amazed by this approach.
I would like to know how and why she or the team behind these series came to this solution!
Congrats and thank you for this friendly content!

Ответить
@monmobear
@monmobear - 08.08.2021 18:08

Great video, please do more :)

Ответить
@nyjelj
@nyjelj - 26.08.2021 20:50

Excellent video. Perfect length: just long enough to explain usage patterns. This was very helpful to me on my path from idiomatic Java (yuck!) to idomatic Kotlin (yeah!).

Ответить
@remmo123
@remmo123 - 29.08.2021 23:46

Great way to teach the language.

Ответить
@pradeepkumarreddykondreddy7048
@pradeepkumarreddykondreddy7048 - 06.09.2021 17:13

This code will check the sum for number with itself in the nested loop. Is this part of the problem statement ?
for(first in numbers){
for(second in numbers){
if(first +second == 2020)
}
}

Ответить
@pradeepkumarreddykondreddy7048
@pradeepkumarreddykondreddy7048 - 08.09.2021 05:18

val set = hashSetOf<Int>()
numbers.forEach {
if (set.contains(2020 - it)) {
println("${2020 - it}, $it")
return@forEach
}
set.add(it)
}

Ответить
@AndreiBacalu
@AndreiBacalu - 14.09.2021 12:47

very useful! thanks :)

Ответить
@jsctorrico
@jsctorrico - 19.09.2021 19:47

Really well explained!, I appreaciate the effort

one thing that would nice to add is: how the resulting code O(n) es better than the n2 and n3 from the first approach

Ответить
@user-bd1iu6hg3u
@user-bd1iu6hg3u - 20.09.2021 23:32

Ребята, горжусь вами. Давайте побольше таких видео. Плейлист пока что маловат)

Ответить
@tomj9928
@tomj9928 - 23.09.2021 09:11

Sorry but for me this video leaves the impression, that if I want to do something the most complicated way nobody will understand later, I use Idiomatic Kotlin. I agree that 3 for loops are bad etc... and even without proofing it in this video, I would believe that the solution is faster.. but what is the price? Completely unreadable code, using Map<Int, Pair<Int, Int>> stuff where you need to add a comment so later anyone has at least a small chance of understanding whats happening here? Using methods you need to explain in detail because its obviously not obvious what they are doing? Okay to some things you might get used to sooner or later, but even when I look at the code in the end it feels like I use the theory of relativity on a simple sum problem or in other words: If that is the solution, I want my problem back ;-) Joking aside, "Keep it simple" looks just different for me.

Ответить
@daniloespinozapino4865
@daniloespinozapino4865 - 10.05.2022 07:03

it will only take 3 minutes... i feel like a moron

Ответить

مقاطع بدر و براء و جواد| صحاب اختك فانز بدر و براء و جواد🔥