Obama Becomes First President to Write a Computer Program

来源: doublev 2014-12-09 11:22:42 [] [旧帖] [给我悄悄话] 本文已被阅读: 次 (35211 bytes)
http://www.wired.com/2014/12/obama-becomes-first-president-write-computer-program/

Obama Becomes First President to Write a Computer Program

Adrianna Mitchell, a middle-school student from Newark, NJ, explains a coding learning program to President Barack Obama during an “Hour of Code” event in the Eisenhower Executive Office Building on the White House complex in Washington, DC, on Monday, Dec. 8, 2014.

Adrianna Mitchell, a middle-school student from Newark, NJ, explains a coding learning program to President Barack Obama during an “Hour of Code” event in the Eisenhower Executive Office Building on the White House complex in Washington, DC, on Monday, Dec. 8, 2014.  Jacquelyn Martin/AP

President Barack Obama told the world that everyone should learn how to code. And now he’s putting his money where his mouth is.

Earlier today, to help kick-off the annual Computer Science Education Week, Obama became the first president ever to write a computer program. It was a very simple program—all it does is draw a square on a screen—but that’s the point, says Hadi Partovi, co-founder Code.org, an organization that promotes computer science education. “All programming starts simple,” he says. “No one starts by creating a complicated game.”

Last year, Obama delivered a YouTube speech to promote Computer Science Education Week, but didn’t write any code himself. “Learning these skills isn’t just important for your future. It’s important for our country’s future,” the president said in the 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.”

Obama was echoing the sentiment of the growing code literacy movement, which seeks to expand computer science and programming education throughout the world. Code literacy advocates argue that with information technology embedding itself ever deeper into our lives, everyone should learn a bit more about how computers operate. A whole industry has sprung-up around the idea, with companies offering everything from children’s games that teach the fundamentals of programming to intensive three month full-time “bootcamps” dedicated to teaching people how to code well enough to land a job.

Code.org introduced the “Hour of Code” campaign last year with the aim of convincing all students to try just one hour of programming and showing them that anyone can learn the basics. As part of the campaign, the organization created a website that compiles many different hour long tutorials, most of which were created specifically for the campaign.

Obama wrote his code part of event today organized by Code.org, which brought brought 20 middle school students from the South Seventeenth Street School in Newark, New Jersey, to the White House, where they met the president and worked on Hour of Code tutorials. Partovi says the president himself didn’t complete the tutorial from start to finish, but instead went from station to station watching the students work. He did, however, complete some of the exercises, which involved both using Google’s Blockly tool, and writing a line of code using the programming language JavaScript.

Obama joins New York City Mayor Michael Bloomberg, who tweeted in 2012 that his New Year’s resolution was to learn to code, among major U.S. politicians who have taken the first steps towards code literacy.

所有跟帖: 

赞一个。 -Pink侠- 给 Pink侠 发送悄悄话 Pink侠 的博客首页 (0 bytes) () 12/09/2014 postreply 11:34:35

Nice! 奇怪, 我一直以为Bloomberg能写code. 居然不会. -weston- 给 weston 发送悄悄话 weston 的博客首页 (49 bytes) () 12/09/2014 postreply 11:46:06

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭/移除任何Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock/Adblock plus

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”