Learn Recursion from 'The Good Place'
Dec. 19, 2017
It's no surprise that NBC's 'The Good Place' was just renewed for it's third season; Kristen
Bell is so forkin' funny and this whole "Good Place/ Bad Place" twist needs some further explanation. But we're not here to talk theories or spoilers, rather, we're looking at the shows major plot line and translating it into code, specifically a process known as 'recursion'.
Recursion is a computer science method used in many programming languages, in which a function can call itself.
While her blog post does have spoilers- Carol Scott breaks this down step by step for you in her piece, "How 'The Good Place' Is A Great Example of Recursion." We'll do a quick synopsis below, but you really should check out the full version on her blog!
There are many times in the show where Michael (Ted Danson), the Head Demon, chooses to 'reboot' The Good Place after something "bad" happens, hoping to wipe the many characters' memories.
This process would continue in perfect harmony for eternity, however, everyone's favorite character, Janet (D'Arcy Carden) changes things.
Every time Janet is rebooted, she becomes more intuitive, unlike the other characters who maintain the same knowledge/ deduction capacity, which means Janet serves as a multiplier for the other characters.
This means, no matter how many times the other characters are rebooted, each new reboot produces a new Janet. (In computer science terms, you would say Janet is what makes the recursive change its state.)
(Janet + 1)
(Janet + 1)+1I know we're all dying to see how how this function show ends - but we'll have to wait until January to find out!
- Girls Who Code -- Join 40,000 Girls Who Code today! ›
- Girls Who Code - Home | Facebook ›
- About Us - Girls Who Code ›
- Girls Who Code (@GirlsWhoCode) | Twitter ›
- Girls Who Code - Wikipedia ›
- Women Who Code: Welcome ›
- Women Who Code (@WomenWhoCode) | Twitter ›
- Jobs | Women Who Code ›
- Women Who Code SF (San Francisco, CA) | Meetup ›
- About Us | Women Who Code ›
- Women Who Code - Home | Facebook ›
- Women Who Code – Medium ›
- Women Who Code | LinkedIn ›
- Women Who Code - Wikipedia ›
- Women Who Code HK ›
I thought about writing this blog piece like one of those quizzes that used to be on the back pages of Seventeen and Cosmo where each question would offer several answers of varying point levels and you'd pick one answer per question, tally up your points at the end, and match your score to one of several possible results.
Meet Michelle Baker, a technical recruiter at Surescripts. She shared her top tips for applying to Surescripts.
Get a behind-the-scenes look at the company's interview process, culture, and values, and learn how you can best prepare for interviews!
To learn more about Surescripts and their open roles, click here.
A five-step framework for addressing systematic racism at work
The world has changed in the past few weeks.
We're watching corporations and organizations across the world come out in support of Black lives in droves. Many of those organizations are doing so for the first time in their history.
Jasmine Harvey is pursuing her MBA while working full-time as a buyer for Viasat, a global communications and satellite internet company. Balancing home, work, and school while maintaining a 3.9 grade point average has been quite a challenge. Jasmine had a perfect 4.0 until she took one of the hardest classes in her program, Managerial Economics and Global, during this COVID pandemic. She finished a full 15 percentage points above the class average, but was still 0.6 points away from an "A".