[Flatiron SE] Day 1: 08/29/24

Howdy everyone! Feesh back again!

Today was a very interesting day. I learned many things that were completely new to me, which is gonna be very helpful! Even though I did struggle a bit of some of them, I was able to figure it out in the end with th…


This content originally appeared on DEV Community and was authored by Brighton Smith

Howdy everyone! Feesh back again!

Today was a very interesting day. I learned many things that were completely new to me, which is gonna be very helpful! Even though I did struggle a bit of some of them, I was able to figure it out in the end with the help of my instructor and my fellow students!

For Looping

I did already know a bit about "For Each" looping, but "For Of" and "For In" were very new, how ever they weren't that complicated. For Of was just used as a simple way to iterate over iterables like so...

for (variable of iterable) {
  // code block to be executed
}

...very simple. And For In was a bit more complicated, letting you also control enumerable objects. It was very hard for me to wrap my head around.

Communicating with the Server

Now this was the big one, I officially got to learn how to use servers to send and control data. The most useful use I got out of this was learning how people access publicly available API's (huge one for me because I LOVE data). I will say, I really really struggled with fetch() for some reason. I eventually figured it out, I was just struggling with how it interacted within a function.

To explain, usually you can run Fetch() in the console of a website via this command...

fetch("url to a api database")

...but I was just not able to understand how to do it. I did end up finding out it works just like above, I was just overthinking the process. Which is a pretty silly issue I have. But I'm glad I figured it out!

Big O Notation

Last thing I want to talk about is Big O Notation. This was super interesting to me just because of all the different ways to optimize code and the best way to do it. After learning more about it I decided to do my own research and it seems like Big O Notation is incredibly important in any coding scenario. So I will be sure to make sure I can use it to optimize when ever possible.

Here's a pretty cool chart I found to visualize it!

Image description
[Source:https://www.bigocheatsheet.com]

But thats everything for today! Once again thank you to Flatiron and everyone that supports me!

Cya!


This content originally appeared on DEV Community and was authored by Brighton Smith


Print Share Comment Cite Upload Translate Updates
APA

Brighton Smith | Sciencx (2024-08-29T20:17:06+00:00) [Flatiron SE] Day 1: 08/29/24. Retrieved from https://www.scien.cx/2024/08/29/flatiron-se-day-1-08-29-24/

MLA
" » [Flatiron SE] Day 1: 08/29/24." Brighton Smith | Sciencx - Thursday August 29, 2024, https://www.scien.cx/2024/08/29/flatiron-se-day-1-08-29-24/
HARVARD
Brighton Smith | Sciencx Thursday August 29, 2024 » [Flatiron SE] Day 1: 08/29/24., viewed ,<https://www.scien.cx/2024/08/29/flatiron-se-day-1-08-29-24/>
VANCOUVER
Brighton Smith | Sciencx - » [Flatiron SE] Day 1: 08/29/24. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/08/29/flatiron-se-day-1-08-29-24/
CHICAGO
" » [Flatiron SE] Day 1: 08/29/24." Brighton Smith | Sciencx - Accessed . https://www.scien.cx/2024/08/29/flatiron-se-day-1-08-29-24/
IEEE
" » [Flatiron SE] Day 1: 08/29/24." Brighton Smith | Sciencx [Online]. Available: https://www.scien.cx/2024/08/29/flatiron-se-day-1-08-29-24/. [Accessed: ]
rf:citation
» [Flatiron SE] Day 1: 08/29/24 | Brighton Smith | Sciencx | https://www.scien.cx/2024/08/29/flatiron-se-day-1-08-29-24/ |

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.