Wednesday, December 10, 2014

Barack Obama became the first US president who has mastered programming

US President Barack Obama became the first head of state who wrote a short program in JavaScript. When this was not without incident: When Obama instructed, he asked to talk slowly, appealing to his old age.
obam-code-1

December 8 Barack Obama participated in the launch of educational action Hour Of Code. On this occasion, the president took 20 students of a school in New Jersey in the White House and tried with them to write a short program. His task was to produce visually Google Blockly blocks, which depicted the program code. If the blocks to make correct code will work.
Obama was asked to write a short program. The basis for her schoolgirl did Adrianna Mitchell. She explained that it is necessary to move the point by 100 pixels, and to finish the figure. According to the founder of the nonprofit organization Code.org, president very carefully typed text.
During the briefing, Obama asked to talk not so fast, "Slow down, I'm an old man". Code that wrote the president of the programming language JavaScript, consisted of only a single line - moveForward (100) ;, while he asked if he needed to write the word with a capital letter Forward. This code is allowed cartoon characters on the screen pass 100 pixels.

Action "Hour of code" aimed at attracting children to study information technology. The campaign learn to write code and make their first steps in the development of the profession programmer. Apple spends share from 8 to 14 December.
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF