#100DaysOfCode Week 1

Days 1-2: freeCodeCamp JavaScript Algorithms & Data Structures: Basic Javascript completed. 2.5 hours.

Day 3-4: freeCodeCamp JavaScript Algorithms & Data Structures: ES6 completed. 1.25 hours. Learned:

  • Object.freeze to make objects immutable, since objects are still mutable even if they are defined with const
  • Default function parameters were not supported in ES5
  • reduce() takes two elements (a, b), does whatever you want with them, then uses the result in the next iteration.
  • You can destructure multiple nested objects in a single line
  • ES6 is, in general, much more powerful and much less intuitive than ES5. ES5 seems to “make sense” just by reading the code. ES6 on the other hand requires reading the documentation or some sort of other instruction.

Day 4: freeCodeCamp JavaScript Algorithms & Data Structures: Regular Expressions completed. 0.75 hours. Mostly review for me!

Day 5: freeCodeCamp JavaScript Algorithms & Data Structures: Debugging completed. 0.15 hours. freeCodeCamp JavaScript Algorithms & Data Structures: Basic Data Structures completed. 0.85 hours.

Day 6-8: freeCodeCamp JavaScript Algorithms & Data Structures: Basic Algorithm Scripting completed. 3.0 hours. These are actually really fun, especially as I try to solve them with more advanced methods. After completion, I look at the solutions to see how my answer could have been improved. Sometimes I already used the advanced method (or something similar), other times I have a lot of room for improvement. Really fun to learn!

Review

I’m loving this challenge. It can be tough to find the extra hour every day to code, but I’ve done it most days so far. I missed one day when family came into town, so I made it up the next day. I think that still counts, right? 😉

Leave a Reply

Your email address will not be published. Required fields are marked *