Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript Object Literals Video #1728

Open
shiffman opened this issue Oct 2, 2024 · 2 comments
Open

JavaScript Object Literals Video #1728

shiffman opened this issue Oct 2, 2024 · 2 comments

Comments

@shiffman
Copy link
Member

shiffman commented Oct 2, 2024

I had a request to add my "javascript object literals" video to the website! I think this is the one? https://youtu.be/-e5h4IGKZRY Not sure if it fits into the "code!" learning track given how old it is. . . .maybe I should make a new video about it. @jht1493 is this the video you meant?

@jht9629-nyu
Copy link

jht9629-nyu commented Oct 4, 2024

Yes, that's the video. Its referenced here is the ICM syllabus:
https://github.com/ITPNYU/ICM-2024-Code/blob/master/weeks/05_functions.md#object-literals
You also use object literals here on current coding train:
5-functions/1-basics
After some thought I'd recommend build on your existing function basics to use object literals to demonstrate parameters and return values. Even array of object literals! A gentle intro to objects before the deep ocean of classes.

// https://editor.p5js.org/jht9629-nyu/sketches/DPUic6Iyi
// Wk05 balls parameters

@shiffman
Copy link
Member Author

shiffman commented Oct 4, 2024

Thanks for these suggestions! I'm waiting for p5.js 2.0 to re-record or update any of these videos but I will definitely keep this suggestion in mind! For now it might make sense to put the object literal video in one of the extra p5.js tracks (https://thecodingtrain.com/tracks/p5-tips-and-tricks or https://thecodingtrain.com/tracks/topics-in-native-javascript). Thank you @jht9629-nyu!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants