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

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 fas…


This content originally appeared on DEV Community and was authored by Jacob Stern

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! 🚀


This content originally appeared on DEV Community and was authored by Jacob Stern


Print Share Comment Cite Upload Translate Updates
APA

Jacob Stern | Sciencx (2024-08-25T23:11:51+00:00) Day 55 / 100 Days of Code: Exploring JavaScript Control Flow. Retrieved from https://www.scien.cx/2024/08/25/day-55-100-days-of-code-exploring-javascript-control-flow/

MLA
" » Day 55 / 100 Days of Code: Exploring JavaScript Control Flow." Jacob Stern | Sciencx - Sunday August 25, 2024, https://www.scien.cx/2024/08/25/day-55-100-days-of-code-exploring-javascript-control-flow/
HARVARD
Jacob Stern | Sciencx Sunday August 25, 2024 » Day 55 / 100 Days of Code: Exploring JavaScript Control Flow., viewed ,<https://www.scien.cx/2024/08/25/day-55-100-days-of-code-exploring-javascript-control-flow/>
VANCOUVER
Jacob Stern | Sciencx - » Day 55 / 100 Days of Code: Exploring JavaScript Control Flow. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/08/25/day-55-100-days-of-code-exploring-javascript-control-flow/
CHICAGO
" » Day 55 / 100 Days of Code: Exploring JavaScript Control Flow." Jacob Stern | Sciencx - Accessed . https://www.scien.cx/2024/08/25/day-55-100-days-of-code-exploring-javascript-control-flow/
IEEE
" » Day 55 / 100 Days of Code: Exploring JavaScript Control Flow." Jacob Stern | Sciencx [Online]. Available: https://www.scien.cx/2024/08/25/day-55-100-days-of-code-exploring-javascript-control-flow/. [Accessed: ]
rf:citation
» Day 55 / 100 Days of Code: Exploring JavaScript Control Flow | Jacob Stern | Sciencx | https://www.scien.cx/2024/08/25/day-55-100-days-of-code-exploring-javascript-control-flow/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.