Watch me FIX this JavaScript function

Published: 13 June 2024
on channel: Dev Kylo & The Great Sync
1,273
23

How many times do you write code that somehow works, but is actually complete garbage.

Happens to me all the time 😂

The trick is to REFACTOR. Go through your code again, apply your knowledge of fundamentals, and make the code cleaner, more readable and easier to maintain.

This is an example of exactly the kind of function which needs improvement.

You might notice the odd genie 🧞‍♂️, island 🏝️, flying ship 🚢 or sorcerer 🧙‍♀️. This is The Great Sync Mental Model - my visual and mnemonic method for learning and remembering fundamentals. Check out thegreatsync.com.


On this page of the site you can watch the video online Watch me FIX this JavaScript function with a duration of hours minute second in good quality, which was uploaded by the user Dev Kylo & The Great Sync 13 June 2024, share the link with friends and acquaintances, this video has already been watched 1,273 times on youtube and it was liked by 23 viewers. Enjoy your viewing!