[President Obama Meets with Students at an “Hour of Code” Event | The White House]
海の向こうではオバマ大統領が子供たちにまじってコンピュータサイエンス教育週間の「Hour of Code」に参加した。
初めてのコンピュータコードだそうだ・・・
President Obama writes his first line of Javascript | Mashable
* * *
初めてコンピュータコードを書いたオバマ大統領
President Obama writes his first line of Javascript
大統領は Javascript でプログラムコードを書いた。また「アナと雪の女王」で Elsa の動きを表わすのに使われたグーグルのプログラム言語「Blocky」でもコードを書いた。
The president wrote his code in Javascript, as well as Google’s “Blocky” programming language — it made Elsa from Frozen move from one point to another.
大統領は正しくプログラミングできたようだ。ただその説明はいささか回りくどいものだった。
Although the president’s coding was apparently correct, his explanation of code seemed a little convoluted.
「このゼロとワンという2つの数字 — イエスかノーという意味だけど、これらが電子的メッセージに翻訳されてコンピュータで動くんだよ」と。
“You take these zeroes and ones, you take two numbers — yes or no — those can be translated into electrical messages that run through the computer,” he said.
幸いなことに Code.org の設立者 Hadi Partovi が代わって説明してくれた。
Thankfully, Code.org’s co-founder Hadi Partovi was helpful enough to explain it for him.
「あなたはコンピュータに命令したのです。この命令は英語によく似ています。」
“You just give the computer commands and they’re much closer to English.”
* * *
なんとも微笑ましい光景だ。
プログラミングを基礎教育に取り入れようとする試みに大統領が参加すること自体が羨ましい・・・
* * *
追記:Hour of Code の参考資料
Hour of Code に併せて iTunes Store では様々なプログラミングリソースが公開されている。この機会にぜひ覗いてみよう。