GET EMAIL UPDATES FROM POWERTOFLY
By signing up you accept the Terms of Service and Privacy Policy
BROWSE CATEGORIES
GET EMAIL UPDATES FROM POWERTOFLY
Tech Talk

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.

When translated to JavaScript, a function is written so whenever The Good Place is called to be rebooted, each characters knowledge/deduction capacity multiplies together, and then the entire function reboots itself once again.

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)+1

I know we're all dying to see how how this function show ends - but we'll have to wait until January to find out!
popular

How These Companies Are Celebrating Asian American and Pacific Islander Heritage Month

According to a recent study, anti-Asian hate crimes have risen 150% since the pandemic started. But these acts of violence are not new — they are part of a much larger history of anti-Asian racism and violence in the U.S.

That makes celebrating Asian American and Pacific Islander Heritage Month (which was named a month-long celebration in May by Congress in 1992 "to coincide with two important milestones in Asian/Pacific American history: the arrival in the United States of the first Japanese immigrants on May 7, 1843 and contributions of Chinese workers to the building of the transcontinental railroad, completed May 10, 1869") this year all the more important.

READ MORE AND DISCUSS Show less
Career Advice

How to Scale: 3 Tips from VTS’s Jess Scott on How to Go from 200 to 1,000 Employees

Remember when, in movies from the late 1990s, characters who were looking for a job would leaf through a newspaper's classified section to see who was hiring?

Jess Scott has been running HR teams and talent acquisition teams since then. "You would circle in red pen the job they're going to go apply for. That's how you applied!" she says, laughing. "Sending emails, especially with attachments, was still a very new thing."

READ MORE AND DISCUSS Show less
Career Advice

5 Tips to Grow Your Career In Tech Sales

Insight from Rain Hu, RVP of Sales at Elastic

One of Rain Hu's favorite moments of the day is her early morning run. "I run six kilometers minimum daily, rain or shine," she says. "I enjoy the time alone because it allows me to have time for self-reflection and self-conversation."

The discipline that it takes to maintain a healthy lifestyle is carried throughout her life. As a wife, mother of two young boys, and sales leader, Rain optimizes her time so that she can show up fully and authentically in all aspects of her life.

READ MORE AND DISCUSS Show less
Helix

[VIDEO ▶️ ] Prepare for Your Interview With Helix

📼 Watch the video to get super valuable interview tips from Suzanna Earle, lead recruiter and DEI co-lead at Helix—the leading population genomics company working at the intersection of clinical care, research, and genomics.

READ MORE AND DISCUSS Show less
popular

Common Technical Interview Mistakes (and What to Do Instead)

You're perfectly qualified, you've arrived on time, and you're ready for your technical interview. What could possibly go wrong?

Technical interviews can be a mind wracking experience for job seekers. Everyone makes mistakes, but according to interviewers, candidates for tech positions are prone to a number of common interview blunders. To avoid them, it's helpful to know what they are.

READ MORE AND DISCUSS Show less
© Rebelmouse 2020