Telling the Time (#klokkijken) in Dutch is a great problem for a beginner to solve. It provides several little puzzles to solve and provides good opportunities to practice problem-solving such as reading the input String, splitting and parsing the hour and minutes to integers, then breaking down the problem into smaller cases in order to write the algorithm. Also there are a couple of nice corner cases that need attention.
In this video, my 11 year old daughter is tackling the problem in #Java. Watch her struggles and victory, as well as talks about validation, assumptions and corner cases.
Blog post: https://blog.appliedcoding.club/2021/...
Source code: https://github.com/AppliedCodingClub/...
Telling time (Dutch page): https://www.colanguage.com/nl/klokkij...
Telling time (English pages):
https://blogs.transparent.com/dutch/w...
https://www.invadingholland.com/guide...
A beginner learning to code will approach problems in different way than an advanced coder. They require more explanation, more research and their solution is more simple. They may miss a few corner cases or come up with a sub-optimal solution. No problem at all! I'll accept it :)
0:00 Hello, I'm here coding with my dad
0:40 Breaking down the problem
4:55 Coding time
6:53 Main functionality
9:27 Corner case
10:47 Another corner case
14:00 Testing time
15:04 Like and Subscribe!
#GirlsCanCode #Java #LearnToCode #CodingForKids #CodingForBeginners #LiveCoding #Coding
👨💻 About me
🖥 I am a software developer with more than 20 years of experience in the tech industry. I love to teach, debug problems and optimize my code for perfection.
📽 In my channel, you find videos describing how to solve coding problems, develop games, prep for job interviews and overall talk tech. I chose the name AppliedCoding, because I will teach you exactly that - applied coding - I show you how to analyze real problems, break them down into manageable chunks, come up with an algorithm, choose the right data structures, talk about the pros and cons… and only then code the solution.
*****
👉 Blog: https://blog.appliedcoding.club
👉 Instagram: / appliedcoding
👉 Facebook: / appliedcodingclub
👉 Github: https://github.com/AppliedCodingClub