Learn Kotlin in 12 Minutes - 2021
Video Statistics and Information
Channel: Rahul Pandey
Views: 50,027
Rating: 4.9056048 out of 5
Keywords: kotlin, development, programming, code, tutorial, rahulpandey, rahul, pandey, teach, kotlin tutorial, kotlin programming language, kotlin in 12 minutes, learn kotlin in minutes, learn kotlin fast, kotlin nullability, kotlin type inference, kotlin println, kotlin hello world, kotlin java, kotlin related to java, kotlin conditionals, kotlin functions, kotlin for beginners, kotlin introduction, kotlin overview, kotlin strings, kotlin types, kotlin if statment, android, kotlin developer
Id: iYrgWO2oibY
Channel Id: undefined
Length: 12min 0sec (720 seconds)
Published: Wed Jan 27 2021
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
There's some good stuff in here, and definitely high-density. But TBH I don't think a newbie is going to come away with anything. It's just too much.
That's not a bad thing, if that's not your audience, and it means you can take a breath here and there: Programmers already know what compilers and variables and functions are. You can skip the explanations on the fundamental blocks. Then you can (breathe or) tell them what they need to know about them, particularly where Kotlin might behave differently from what they're used to.
For example, I've been programming forever, but I hadn't looked at Kotlin until yesterday. (Hooray, I put off learning Java long enough now I don't have to!) That repeat{} loop is cool, and new to me, and my inner kid who wrote B-Tree data structures in Pascal is looking at those pairs and triples with some suspicion.
I would probably focus on what's unique and interesting about Kotlin if this is for an audience that can already program in another language. The code here isn't really exercising some of the more elegant features of Kotlin.
There was a thread on this sub recently discuss them. But ones that I really appreciate:
if
andtry
expressions: i.e.:kotlin val it = if (whatever) { "foo" } else { "whatever" }
null
safetyI appreciate this type of instructional video. Just get to the point and give me the information and I'll pause or backup as necessary.
Spend too much time typing, backspacing, then fixing typing errors or tracking down runtime errors, that's when my mind starts to wander.
I have a feeling that this is too much/fast for a newbie and not enough for an experienced coder (ie. has at least a basic knowledge of Java).
Sorry for my bad English.
I've had a learning curve in university with C -> C++ -> Java -> C# and I feel like I just watched a basics of programming in 4x speed.
The ? sign is an interesting concept in Kotlin, but then you cut it short. Just like when you mentioned that Kotlin and Java is very similar. They compile into the same Java byte code and because of that they can be translated into one of the other very easily.
No mention that in Kotlin, everything is an object, unlike Java. So, when you declare a String, you can use it's methods because it's more than just an array of characters. (I should have wrote there are no primitive types in Kotlin.)
And from my viewpoint, saying something like "val is a keyword because the IDE gives it a color" is a no-go. It's like saying "I know the answer to the question because the other guy told me it".
It was a well put together video with it's errors. Nothing is perfect, but we can work towards an "almost-perfect" state and I can see that you are capable of doing so. Don't give up!
Edit: spelling and clarification.