ArticleslgStudy

computer science

Learn to Code

Learn to Code is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Learn to Code rather than just read about it. In short: "Learn to Code" was a slogan and a series of public influence campaigns during the 2010s that encouraged the development of computer programming skills in an economy increasingly centered on information technology. The campaigns led to endorsements from politicians, the inclusion of programming in state school curricula, and the proliferation of coding bootcamps.

Key takeaways

  • Learn to Code belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Learn to Code to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Learn to Code from memory before moving on to harder problems.

Reference excerpt

"Learn to Code" was a slogan and a series of public influence campaigns during the 2010s that encouraged the development of computer programming skills in an economy increasingly centered on information technology. The campaigns led to endorsements from politicians, the inclusion of programming in state school curricula, and the proliferation of coding bootcamps. Learning to code has a long history, with moments of enthusiasm and anxiety about computational literacy and the best methods to learn programming skills. A backlash erupted in 2019 in the form of online harassment of laid-off American journalists.

Context The notion of code literacy — that is, computer programming as an element of primary or liberal education — has been traced to Alan Perlis's 1962 essay "The Computer in the University." Perlis called for a course in the first two years of college in which students would write or observe a large number of programs. John Kemeny and Thomas Kurtz created the BASIC programming language in support of this goal, and the Logo language was introduced as a tool for early-childhood education. Follow-up research found little evidence of the predicted cognitive benefits of programming education, and the rise of the software industry and graphical user interfaces caused educational focus to shift in the 1990s toward end-user skills. Computers were also expensive, limiting the integration of coding skills into the school curriculum. By 1995, there were approximately three computers for every 30 children in American schools. Despite these factors, research and advocacy for programming literacy continued. In the 2010s, valuations of information technology companies grew significantly. In March 2010, the top ten most valuable US companies included Microsoft and Apple at No. 2 and No. 3 and Google at No. 9. The following year Apple displaced ExxonMobil as the highest-valued US company. Technology venture capitalist Marc Andreessen remarked that "software is eating the world" and predicted that software would assume a central place in the US economy. Noting that unemployment remained high after the 2008 financial crisis, he proposed greater emphasis on education in all aspects of the software industry to avoid further unemployment caused by software-driven disruption. By June 2015 all three technology companies were at the top of the value ranking and Facebook at No. 12 had surpassed Walmart. By March 2019 Amazon had joined Apple, Microsoft and Google (Alphabet Inc.) in the top four, Facebook stood at No. 6, and payment technology company Visa Inc. was at No. 8. Coding instruction was thoroughly transformed by commercialization and Internet-based teaching practices in the 21st century. Collectively, learning to code has taken on the trappings of a popular movement, with utopian ideals, charismatic leaders, capitalist narratives, and shared identities.

Codecademy and Code.org Zach Sims and Ryan Bubinski launched Codecademy in August 2011 with a mission to offer "crash courses" in computer programming to a broad audience. It received initial funding from several technology venture capital firms including Union Square Ventures, O'Reilly Media's AlphaTech Ventures, Y Combinator and Chris Dixon's Founder Collective. The following January Codecademy launched a viral marketing campaign called Code Year that urged people to make "learn to code" one of their New Year's resolutions. The launch of the campaign's web site, which featured endorsements from Codecademy's investors, was promoted on social media by New York mayor Michael Bloomberg and Washington Post reporter Ezra Klein, among others. Media outlets publicizing the launch included CNN, CNN Money, The New Yorker, Slate and Fast Company (with an article written by Sims). Some commentators responded skeptically to Code Year. Personal computing journalist Matthew Murray countered that programming well enough to be professionally adept typically required years of practice and expressed reservations about the "commoditizing and corruption" of a difficult career. More prominently, Jeff Atwood, co-founder of the programming question-and-answer site Stack Overflow, argued that the supply of coding talent should be balanced with its practical demand, which was constrained by the applicability of programming to problems and the disadvantages of writing more code than necessary. Former software developer Ciara Byrne was similarly critical in late 2013. Code Year was nonetheless successful at introducing the advocacy of code literacy into public discourse in the ensuing years. In one instance, NBC's Today show reported approvingly in November 2013 on a New York technology entrepreneur who gave a homeless man, Leo Grand, a laptop computer and JavaScript coding lessons. January 2013 saw the founding of a permanent code literacy advocacy group, Code.org. The organization debuted with an advertisement featuring Bill Gates, Mark Zuckerberg, Jack Dorsey and other technology businesspeople, as well as non-technology personalities like musician will.i.am and athlete Chris Bosh. Code.org launched the "Hour of Code" campaign in December, with endorsements from Barack Obama, actor/businessman Ashton Kutcher and singer Shakira, which featured workshops at the Apple and Microsoft campuses and asked school teachers to devote an hour of class time to programming education. The group did not disclose its initial funding, but in 2016 it raised a total of $23 million for teacher training and policy advocacy from Facebook, Mark Zuckerberg, his wife Priscilla Chan, Microsoft, Google and Infosys. In 2014 other programming education startups joined Codecademy for another Year of Code campaign that targeted the United Kingdom. Saul Klein, an early investor in Codecademy and Seedcamp, another participating startup, was on the campaign's board of directors. The BBC, a partner in the campaign, promoted it without consistently disclosing its involvement. Stirling University social scientist Ben Williamson studied the development of "learning to code" advocacy networks in the UK, describing them as "not a coherent and stable network but a messy hybrid of intentions, ambitions, and interests." He identified Code Club as an early manifestation of the movement, founded in April 2012 and supported by Microsoft, Google and the Department for Education.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Learn to Code

Start with the simplest possible case. Write down what Learn to Code claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Learn to Code before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Learn to Code ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Learn to Code

In research
Learn to Code appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Learn to Code in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Learn to Code is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2010s neologisms, Computer science education, Social movements, so understanding it makes those chapters shorter.
In everyday life
Look for Learn to Code outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Learn to Code” →

How to study Learn to Code in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Learn to Code means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Learn to Code out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Learn to Code in simple terms?

"Learn to Code" was a slogan and a series of public influence campaigns during the 2010s that encouraged the development of computer programming skills in an economy increasingly centered on information technology. The campaigns led to endorsements from politicians, the inclusion of programming in…

Why does Learn to Code matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Learn to Code?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Learn to Code.

Tags

  • 2010s neologisms
  • Computer science education
  • Social movements

Keep exploring