3
Bubbles
6y

Okay so update/JS pt2

This is just me throwing my thoughts down and some questions

I've been practicing arrays/objects and loops more and I'm getting more understanding it helps that you can do them both at the same time. But like I need more looping techniques (if that makes sense) like instead of always using for(let i = 0; i <= x.length; i++) and I havent completely learned how or when I use for(x in y)

Questions.

• what's the difference between class objects and objects that look like a python dictionary

• when should I use classes over the other kind of classes

• any good resources and projects I can practice with loops cause I'm kind of running dry on ideas

and I dont wanna google cause I barely already have no social interaction

Comments
  • 1
    • what's the difference between class objects and objects that look like a python dictionary

    I haven't really dived that much into it or anything, but in my experience it's mostly just for intellisense (see pic) and it's well worth it.

    • when should I use classes over the other kind of classes

    When you feel like it I suppose :v

    • any good resources and projects I can practice with loops cause I'm kind of running dry on ideas

    Make a prime factorizator inator that takes a number and turn it into a list of numbers it can be broken down to. You can also do tic tac toe with arrays
  • 0
    @inaba that was very helpful thank you!
Add Comment