homehome Home chatchat Notifications


Obama gets his hands dirty with computer programming

Last year, President Obama delivered a speech to promote Computer Science Education Week in which he emphasized the important of learning how to code. During this year’s event, Obama put his money where his mouth is and actually sat down to write a simple javascript program. Even though he didn’t actually wrote lines of codes, but […]

Martin
December 10, 2014 @ 8:11 am

share Share

Last year, President Obama delivered a speech to promote Computer Science Education Week in which he emphasized the important of learning how to code. During this year’s event, Obama put his money where his mouth is and actually sat down to write a simple javascript program. Even though he didn’t actually wrote lines of codes, but used a drag-drop interface, it’s safe to say that official Obama is the first US president who actually wrote a computer program, albeit rudimentary.

The Programmer President

Obama computer science

President Barack Obama talks with students during an “Hour of Code” event in the Eisenhower Executive Office Building on the White House complex in Washington, Monday, Dec. 8, 2014, attended by middle-school students from Newark, N.J. (AP Photo/Jacquelyn Martin).

This year’s Computer Science Education Week was organized by Code.org, a non-profit organization which aims to spark interest in technology and inspire people to learn how to code. On code.org, anyone can initiate themselves in the basics of computer programming by taking specially designed one-hour long tutorials. The tutorials are aimed at different age groups, from preschoolers to centenarians.

In this video, Obama can be seen guided through his first computer program by middle-schooler Adrianna Mitchell. Even though he’s “an old man”, as the President jokingly remarked, Obama completed his assignment from stage three of the Code.org Frozen tutorial, where he had to drag and drop pre-coded javascript tutorials to make Elsa walk around in a square pattern.

“Learning these skills isn’t just important for your future, it’s important for our country’s future,” Obama said in a YouTube video. “If we want America to stay on the cutting edge, we need young Americans like you to master the tools and technology that will change the way we do just about everything.”

uwchart

Image: University of Washington

While Obama is spot-on about more people having to learn to code, I feel he may be overstating things a bit. The blue line in the chart above shows how interest in computer science from freshmen at the University of Washington in Seattle has skyrocketed since 2010 compared with other engineering fields; and the UW is not alone. This is a situation that is common in universities throughout the US. Clearly, there is a huge interest in computer science among freshmen and apparently universities can’t keep up. This is where programs like Code.org or the Khan Academy step in to empower people, teaching them how to code in a non-formal environment. Nevertheless, maybe it’s better to encourage people to find their true calling. I’d love to just as much interest and resources that go into learning code being awarded to programs that guide people so that they might find what they’re actually good at.

Discurse co-founder and CTO Jeff Atwood wrote ““I would no more urge everyone to learn programming than I would urge everyone to learn plumbing.”

share Share

Scientists Gave People a Fatty Milkshake. It Turned Out To Be a "Brain Bomb"

A greasy takeaway may seem like an innocent Friday night indulgence. But our recent research suggests even a single high-fat meal could impair blood flow to the brain, potentially increasing the risk of stroke and dementia. Dietary fat is an important part of our diet. It provides us with a concentrated source of energy, transports […]

Drinking Coffee at Night Could Be Making You More Impulsive and Reckless

The implications are especially important for people who work overnight shifts.

A Century-Old Lung in a Jar Yields Clues to the Spanish Flu’s Lethal Surge

Scientists decode how the 1918 flu rapidly adapted to humans—much earlier than thought.

This Common Ingredient in Chocolate May Outperform Tamiflu Against the Flu In New Drug Combo

Researchers uncover a potent, resistance-proof flu treatment—starting with bacteria and ending in mice.

Why Are Some Doctors Pretending to Do CPR? You Should Know About 'Slow Code'

Although it sounds wrong, performative CPR is sometimes the most humane thing to do.

Scientists Created a 3D Printing Resin You Can Reuse Forever

The new resin can be reused indefinitely without losing strength or quality.

Did Neanderthals Survive the Ice Age by Eating Rotting Meat and Maggots?

You may find it hard to digest, but Neanderthals may have loved their meat rotten, and full of maggots.

What Would Happen If Everyone in the World Turned On The Lights At the Same Time?

Power grids could likely handle the surge of demand, but all that light would pollute dark zones nearby.

A Massive Fraud Ring Is Publishing Thousands of Fake Studies and the Problem is Exploding. “These Networks Are Essentially Criminal Organizations”

Organized misconduct is rapidly poisoning the global scientific record.

Scientists Spied on Great Tits All Winter and Caught Them Drifting Apart Toward Divorce

Bird couples drift apart long before they split, Oxford study finds.