ArticleslgStudy

computer science

Zed Shaw

Zed Shaw 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 Zed Shaw rather than just read about it. In short: Zed A. Shaw is a software developer best known for creating the Learn Code the Hard Way series of programming tutorials, as well as for creating the Mongrel web server for Ruby web applications.

Zed Shaw — main illustration
Zed Shaw — illustration

Key takeaways

  • Zed Shaw 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 Zed Shaw to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Zed Shaw from memory before moving on to harder problems.

Reference excerpt

Zed A. Shaw is a software developer best known for creating the Learn Code the Hard Way series of programming tutorials, as well as for creating the Mongrel web server for Ruby web applications. He is also well known for his controversial views on programming languages and communities.

Software Shaw authored the Mongrel web server for Ruby web applications. Mongrel was the first web server used by Twitter, and inspired Node.js, according to its creator Ryan Dahl. Mongrel2 is the language-agnostic successor to Mongrel. He has also written a Python mail server called Lamson, on which the mailing list site LibreList is built.

Learn Code the Hard Way Shaw is the author of learncodethehardway.org, which offers to teach users Python, Ruby, C, Regex, and SQL.

Polemics and controversies Shaw has been outspoken in his criticism of certain programming languages and technical communities.

Ruby on Rails His most famous and well-covered piece was the article "Rails is a Ghetto" which has since been removed from his site.

Criticism of Learn C the Hard Way and Shaw’s views on The C Programming Language His book Learn C the Hard Way has drawn criticism for its technical inaccuracies, misleading explanations of C concepts, pedagogical shortcomings, and a presentation that some critics consider confusing for novice programmers. Furthermore, Shaw's view on The C Programming Language by Brian Kernighan and Dennis Ritchie, often referred to as K&R, has also been scrutinized. Critics contend that his critique misrepresents the original text by evaluating code examples outside their intended context, attributing defects to the book that appear only when examples are modified or misused, employing faulty reasoning, and characterising established C idioms as inherently flawed rather than context dependent. Shaw has since acknowledged shortcomings in his critique of K&R.

Opposition to Python 3 "There is a high probability that Python 3 is such a failure it will kill Python." - Zed Shaw Shaw has a long-standing rant opposing Python 3, where he finds the new string type difficult to use, and as a result he believes that it should not be adopted. Nonetheless, in February 2017, he published a first draft of Learn Python 3 The Hard Way. He stated in November 2016 that "Python 3 is not Turing complete" due to claims from Python project developers that Python 2 code cannot be made to run in the Python 3 VM. This statement has drawn a lot of criticism.

Criticism of certain behaviors within startup culture Shaw has spoken about the amounts of vague and misleading information that is pervasive in the startup and entrepreneur culture, particularly concerning self-proclaimed startup advisors or entrepreneurship "gurus", having demonstrated publicly how some notable figures in the industry appear to speak and provide advice from a background of success that they never actually attained. Shaw is also behind an initiative entitled "Programming, Motherfucker", whose manifesto claims that programmers are "tired of being told we're socially awkward idiots who need to be manipulated to work in a forced pair programming chain gang."

Books Mongrel (Digital Shortcut): Serving, Deploying, and Extending Your Ruby Applications. Addison-Wesley Professional, 2006. ISBN 9780132701778 Professional Ruby Collection: Mongrel, Rails Plugins, Rails Routing, Refactoring to REST, and Rubyisms CD1 (Ruby Series). Addison-Wesley Professional, 2007. ISBN 0132417995 Learn Python the Hard Way. Self-published (1st and 2nd Editions), 2010 and 2011. ISBN 978-0321884916 and ISBN 978-1257853212 The Command Line Crash Course. Self-published, 2011. Learn Regex the Hard Way. Self-published, 2011. Learn SQL the Hard Way. Self-published, 2011. Learn Python the Hard Way: A Very Simple Introduction to the Terrifyingly Beautiful World of Computers and Code 3rd edition. Republished under Addison-Wesley Professional, 2013. ISBN 978-0321884916 Learn Ruby the Hard Way: A Simple and Idiomatic Introduction to the Imaginative World Of Computational Thinking with Code. Addison-Wesley Professional, 2014 ISBN 978-0321884992 Learn C the Hard Way: Practical Exercises on the Computational Subjects You Keep Avoiding (Like C) (Zed Shaw's Hard Way Series). Addison-Wesley Professional, 2015. ISBN 978-0321884923 Mongrel: Learn to Build the Greatest Ruby Web Server Ever. Addison-Wesley Professional, 2015. ISBN 978-0321503091 Learn Python 3 the Hard Way: A Very Simple Introduction to the Terrifyingly Beautiful World of Computers and Code (Zed Shaw's Hard Way Series). Addison-Wesley Professional, 2017. ISBN 978-0134692883

References

External links Zed Shaw's homepage Zed's Web Framework, Tir Web Framework LibreList, mailing list site built on Lamson Zed Shaw's GitHub page Learn Code the Hard Way Home Page

Illustrations

Zed Shaw illustration

Worked examples

Example 1 — a first encounter with Zed Shaw

Start with the simplest possible case. Write down what Zed Shaw 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 Zed Shaw 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 Zed Shaw 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 Zed Shaw

In research
Zed Shaw 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 Zed Shaw 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
Zed Shaw is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer programmers, Living people, Web developers, so understanding it makes those chapters shorter.
In everyday life
Look for Zed Shaw 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 “Zed Shaw” →

How to study Zed Shaw in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Zed Shaw 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 Zed Shaw out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Zed Shaw in simple terms?

Zed A. Shaw is a software developer best known for creating the Learn Code the Hard Way series of programming tutorials, as well as for creating the Mongrel web server for Ruby web applications.

Why does Zed Shaw 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 Zed Shaw?

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 Zed Shaw.

Tags

  • Computer programmers
  • Living people
  • Web developers

Keep exploring