Toronto Star

An analog way to get girls into coding

Non-profit, Penguin will publish 13 books for a range of ages

- ALEXANDRA ALTER

One sunny summer morning this month, a group of 20 teenage girls gathered in a conference room in the sleek offices of a tech company in New York. It was their fifth week of coding camp and they were huddled around laptops, brainstorm­ing designs for their final projects.

One group was building a computer game that simulates the experience of going through life with depression and anxiety, while others were drafting plans for websites that track diversity at companies and help connect newly arrived immigrants with local community groups. They were working intently when Reshma Saujani, the founder and chief executive of the non-profit organizati­on Girls Who Code, dropped in to offer some encouragem­ent.

“How many of you take computer science class at your schools?” she asked. Hands shot up. “Are you the only girls in your class?” she asked. Most of the girls nodded.

During the past five years, some 40,000 girls have learned to code through the organizati­on’s summer camps and afterschoo­l programs.

But Saujani wanted to expand the group’s reach, and was looking for new ways to recruit girls into the tech industry.

For a tech evangelist, her solution was surprising­ly retro and analog: books. Girls Who Code is creating a publishing franchise and plans to release 13 books over the next two years through a multibook deal with Penguin. The titles range from board books and picture books for babies and elementary schoolchil­dren, to nonfiction coding manuals, activity books and journals, and a series of novels featuring girl coders.

This week, the organizati­on is releasing its first two books — an illustrate­d nonfiction coding manual by Saujani and a novel, The Friendship Code, which features a group of girls who become friends in an after-school coding club.

“I wanted to create a series of books that girls could see themselves in, where you could sneak in the algorithms and you sneak in the coding,” Saujani said.

Lately, the niche has gotten consider- ably more crowded.

A growing number of children’s book authors are using fiction to teach the fundamenta­ls of coding, a trend that has coincided with a push by Silicon Valley to fund and expand technology training in schools.

The organizati­on Code.org provides free online coding lessons and has crafted coding curriculum­s for elementary, middle and high school students. Last year, Apple released a free app to teach the programmin­g language Swift. Scratch Jr, a coding program designed for 4- to 7year-olds, now has some five million users.

The Girls Who Code books are also arriving at a moment of heightened awareness and outrage over the scarcity and treatment of women in the tech industry.

“I wanted to create a series of books that girls could see themselves in, where you could sneak in the algorithms and you sneak in the coding.” RESHMA SAUJANI FOUNDER AND CEO OF GIRLS WHO CODE

The issue has come into sharp focus in recent weeks, following the controvers­y over a Google engineer’s memo, in which he argued that women are underrepre­sented in computer science because of physiologi­cal difference­s. The memo, which led to the engineer’s firing, was widely seen as further proof of pervasive sexism in the industry.

Saujani’s effort to counter the industry’s gender imbalance, with coding clubs and now books, seems to have won over some major tech industry figures.

Her new coding book features glowing endorsemen­ts from philanthro­pist Melinda Gates; Jack Dorsey, the co-founder and chief executive of Twitter; and Facebook’s chief operating officer, Sheryl Sandberg.

The daughter of two engineers who came to the United States as political refugees from Uganda, Saujani is in some ways an unlikely advocate for computer literacy. Her academic and profession­al background is in law, history and politics, not technology.

Before founding her coding organizati­on, she worked as a lawyer for a hedge fund and ran for Congress in 2010. She lost, spectacula­rly, and decided to start a non-profit to teach computer literacy to girls.

Since its founding in 2012, the organizati­on’s coding clubs have rapidly spread across the country and now meet in 50 states. But demand has outstrippe­d growth: 7,000 girls applied for 1,600 seats at the group’s 80 summer camps.

So in early 2015, in an effort to extend the group’s reach, Saujani, who published a book for adults about women and leadership in 2013, went to her literary agent and proposed a series of children’s books about coding.

At the time, it seemed like an untapped market. Saujani met with several publishers, and was excited by Penguin’s strategy of flooding every corner of the children’s market, with board books such as Baby Code! for 3 to 7-year-olds and novels for preteenage girls.

Some tech experts say books could prove an effective way to recruit future coders, particular­ly girls, if the stories make programmin­g seem creative and appealing.

But others caution that books are not a substitute for hand-on instructio­n.

Josh Funk, a software engineer and the author of the picture book How to Code a Sandcastle, which will be published next year as part of the Girls Who Code line, sees books as a way to get kids interested in the subject, not as a stand-in for coding classes.

“You can’t learn how to code by reading a picture book,” he concedes.

Other authors are weaving coding concepts into the narratives of novels.

In September, Disney Hyperion will publish Tamara Ireland Stone’s middle grade novel, Click’d, about a girl named Alice who builds an app that goes viral at her CodeGirls summer camp, then realizes a glitch could expose users’ private data.

(At the end of the book, Stone includes exercises that explain how binary code and algorithms work.)

Gene Luen Yang’s bestsellin­g graphic novel series Secret Coders follows a group of kids who discover that their school’s janitor has a secret undergroun­d coding school, like Hogwarts but for programmin­g instead of magic.

The series, which is illustrate­d by Mike Holmes, has become a surprise bestseller: The first three books have more than 200,000 in print.

As the characters learn to program robots, readers are exposed to basic coding skills such as how to read binary numbers and sequence code.

“I wanted to play with the similariti­es between magic and coding,” said Yang, who taught computer programmin­g at a high school in Oakland, Calif., for 17 years.

Stacia Deutsch, who wrote The Friendship Code series, had no background in coding when Penguin hired her to co-write the books in consultati­on with Saujani. So she went to after-school coding workshops at schools around Orange County, Calif., where she lives, and studied the organizati­on’s teaching manual.

As the characters in the books learn to program robots, readers are exposed to basic coding skills such as reading binary numbers

Using their curriculum, she focused on a handful of programmin­g concepts and integrated them into the plot.

The novel centres on a girl named Lucy, who joins an after-school coding club and starts getting mysterious notes on her locker.

To understand the messages, she has to master coding concepts such as input/output, loops and variables.

Deutsch struggled at times to get those ideas across. In moments of panic, she called a friend who is a coder for guidance.

But in other ways, her status as a novice was an asset. Her characters did not know much about coding at the beginning of the novel and neither, she presumes, will many of her readers. “I wanted someone who didn’t know anything about coding to get excited about the possibilit­ies,” she said.

 ?? WILL GLASER/THE NEW YORK TIMES ?? Girls Who Code is releasing a nonfiction manual by founder Reshma Saujani, right, and a novel, The Friendship Code, this week.
WILL GLASER/THE NEW YORK TIMES Girls Who Code is releasing a nonfiction manual by founder Reshma Saujani, right, and a novel, The Friendship Code, this week.

Newspapers in English

Newspapers from Canada