Day 63: The Object Prototype – FINALLY

I continued reading up on C but today has to be dedicated to JavaScript. I have been working through a book on JavaScript to answer some of the lingering questions I have always had for the language. Today, my questions on Prototypes has finally been answered. I need to read through it a few more times but I finally get what in the world is going on with Classes, objects, Functions, and Prototypes in JavaScript. What a relief. Now I can hopefully better understand how libraries like React are built and I can replicate it at a surface level at least LOL. 2022 END GOALS I guess.

TLDR;

Okay, so here are the highlights of what I did:

  • Continued to work on the “Technical Questions” section of the book “Cracking the Coding Interview” by Gayle Laakmann McDowell. Within that, I continued my work on Tree data structures. Started trying to replicate the example pretty print functions provided in the article I am reading through. I had to pause working on my Horizontal Pretty Print project to better understand string/character manipulation in the C programming language. It is a bit of a detour but I imagine it will pay itself off in the long run. Continued reading the C programming book called “The C Programming Language” by Brian W. Kernighan and Dennis M. Ritchie. I got to the section on Arrays. I didn’t know that array variables in C are relegated to pointers after the declaration. That’s interesting. I guess other languages might use the variables as pointers as well.
  • I started reading through chapter 6 of the book “Eloquent JavaScript” by Marjin Haverbeke. I am starting to read the book to help cover some insecurities I have about my knowledge of the language. I learned JavaScript on the fly through projects and YouTube videos. There are some core questions about the language that I don’t think I can answer, so hopefully this will help. THIS CHAPTER IS A MUST READ IN MY OPINION. You can check it out online here.

Conclusion

That’s all for today. This is my sixth round of the “#100daysofcode” challenge. I will be continuing my work from round five into round six. I am currently working through the book “Cracking the Coding Interview” by Gayle Laakmann McDowell. My goal is to become more familiar with algorithms and data structures. This goal was derived from my goal to better understand operating systems and key programs that I use in the terminal regularly e.g. Git. This goal was in term derived from my desire to better understand the fundamental tools used for coding outside of popular GUIs. This in turn was derived from my desire to be a better back-end developer.

I have no idea if my path is correct but I am walking down this road anyways. Worst case scenario I learn a whole bunch of stuff that will help me out on my own personal projects.