Let’s pair program gravity simulation (using JavaScript and p5.js, with Dan Shiffman)

preview_player
Показать описание
💛 Brilliant (Episode sponsor)
Interactive courses on computer science.

💛Code from the episode

📝 Episode notes

💛 Follow on Twitch and support by becoming a Subscriber
We record the show live Mondays 7 AM PT

💛 Fun Fun Forum

💛 mpj on Twitter

💛 CircleCI (Show sponsor)
Robust and sleek Docker-based Continuous Integration as a service. I used CircleCI prior to them becoming a sponsor and I love that their free tier is powerful enough for small personal projects, even if they are private. Use this link when you sign up to let them know you came from here:

💛 FUN FUN FUNCTION
Since 2015, Fun Fun Function (FFF) is one of the longest running weekly YouTube shows on programming 🏅 thanks to its consistency and quality reaching 200,000+ developers.

🤦‍♂️ The Failing Together concept is what makes FFF unique. Most coding content out there focus on step-by-step tutorials. We think tutorials are too far removed from what everyday development is like. Instead, FFF has created a completely new learning environment where we grow from failure, by solving problems while intensively interacting with a live audience.

Tutorials try to solve a problem. Failing Together makes you grow as a developer and coworker.

📹 Each show is recorded live on Twitch in a 2-hour livestream on Mondays. The host, assisted by the audience, is tasked to complete a programming challenge by an expert guest. Like in the real world, we often fail, and learn from it. This, of course, reflects what the audience identifies with, and is one of the most praised aspects of the show.

⏯ On Fridays, an edited version of the show is adapted for and published on YouTube.

Content Topics revolve around: JavaScript, Functional Programming, Software Architecture, Quality Processes, Developer Career and Health, Team Collaboration, Software Development, Project Management
Рекомендации по теме
Комментарии
Автор

As soon as I saw this in my feed, I knew everything was going to get pushed back and hour. These two are so awesome.

onedimensionalchess
Автор

Didn't know that Robert Downey Jr. could code.

eugeneganshin
Автор

glad there's no semicolons, I stopped using them a while ago and I don't miss em.

ridespirals
Автор

Watching Daniel shiffman watching Daniel shiffman

SogMosee
Автор

27:30 I wonder if recreating new objects on each each vector operation would be problem in JavaScript. I know in some languages creating many new objects in a short timespan can cause huge performance drops depending on how well the garbage collector / memory allocation and deallocation is optimized. Because of these problems many math libraries usually allow the user to avoid it. e.g. Java had huge problems with this in the past.

devluz
Автор

What is your next coding video? Keep it up! Would you like to be YouTube friends?

BuildWithAITools
Автор

// no semicolons
let test = 42
(() => {/*code*/})()
// Uncaught TypeError: 42 is not a function

khutulka
Автор

Does anyone else here that that MPJ has a bit of a Johnny Depp vibe/look?

smoothbeak
Автор

Dude on the right of thumbnail of video looked like Robert Downey Junior

bitbyte
Автор

The fact you're not using a separate script is a little fastidious

vympel
Автор

import chai from "chai";
chai.should();



describe("Simple happiness test", () => {
it("Should not wake up (hapiness is real)", (done) => {

const statement : string = "I only follow two programmers on youtube." ;
const favs : string[] = ["Fun Fun Function", "The Coding Train"];

if ( onVideo(favs[0]) && onVideo(favs[1]) ) {
console.log(`${statement} When I first saw the thumbnail with ${favs[0]} and ${favs[1]} i had to pinch myself `);
  let myself = new Person("homemmakako");
myself.pinch( (wokeUp) => {
if(wokeUp) //TODO maybe replace with ternary?
console.log("only to find out it was all just a dream");

  else
console.log("but turns out it was just my dreams coming true :D"); //Expected log
wokeUp.should.be.false;
done();

});

}
});
});

homemmakako