Day 55 / 100 Days of Code: Exploring JavaScript Control Flow

Jacob Stern - Aug 25 - - Dev Community

Sat, Aug 24, 2024

Hey everyone! 👋

Having studied Computer Science in college, I’m familiar with control flow structures like if-else and switch-case. Now, diving into JavaScript, which offers even more complex branching and data types, has been a fascinating journey so far!

Lately, I’ve been experimenting with JavaScript objects and exploring some of its interesting methods. Codecademy’s mini-projects have been a great way to practice these concepts. I’ve noticed that as long as my function declarations and return values meet requirements, I can move forward. This has allowed me to focus on learning new concepts while appreciating the core Codecademy lessons.

Sometimes, classic switch-case or if-else statements are the best (or only) solutions; e.g., in one project, I tried using a JavaScript map object but found it wasn’t ideal for the task, so I reverted to if-else. However, I’m excited to make friends with more of JavaScript’s built-in data structures.

Having background in C/C++ has definitely made the transition to JavaScript smoother, as there are many familiar elements. When I encounter similarities between the two languages, it sparks my curiosity to delve deeper and understand the nuances of JavaScript even more. I’m excited to continue this journey and learn something new every day.

I’d love to hear from other dev bloggers! How do you approach learning new programming languages or concepts?

Any tips or resources you’d recommend? Let’s connect and share our experiences!

Happy coding! 🚀

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player