ArticleslgStudy

computer science

Dark pattern

Dark pattern 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 Dark pattern rather than just read about it. In short: A dark pattern (also known as a "deceptive design pattern") is a user interface that has been carefully crafted to trick users into doing things, such as buying overpriced insurance with their purchase or signing up for recurring bills. User experience designer Harry Brignull coined the neologism on 28 July 2010 with the registration of darkpatterns.org, a "pattern library with the specific goal of naming and shamin…

Dark pattern — main illustration
Dark pattern — illustration

Key takeaways

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

Reference excerpt

A dark pattern (also known as a "deceptive design pattern") is a user interface that has been carefully crafted to trick users into doing things, such as buying overpriced insurance with their purchase or signing up for recurring bills. User experience designer Harry Brignull coined the neologism on 28 July 2010 with the registration of darkpatterns.org, a "pattern library with the specific goal of naming and shaming deceptive user interfaces". The website has since moved to deceptive.design. In 2023, he released the book Deceptive Patterns. In 2021, the Electronic Frontier Foundation and Consumer Reports created an online reporting form to collect information about dark patterns from the public.

Patterns

Bait-and-switch Bait-and-switch patterns advertise a free (or at a greatly reduced price) product or service that is wholly unavailable or stocked in small quantities. After announcing the product's unavailability, the page presents similar products of higher prices or lesser quality. ProPublica has long reported on how Intuit, the parent company of TurboTax, and other companies have used the bait and switch pattern to stop Americans from being able to file their taxes for free. On 29 March 2022, the Federal Trade Commission announced that they would take legal action against Intuit in response to deceptive advertising of its free tax filing products. The commission reported that the majority of tax filers cannot use any of TurboTax's free products which were advertised, claiming that it has misled customers to believing that tax filers can use TurboTax to file their taxes. In addition, tax filers who earn farm income or are gig workers cannot be eligible for those products. Intuit announced that they would take counter action, announcing that the FTC's arguments are "not credible" and claimed that their free tax filing service is available to all tax filers. On 4 May 2022, Intuit agreed to pay a $141 million settlement over the misleading advertisements. In May 2023, the company began sending over 4 million customers their settlement checks, which ranged from $30 to $85 USD. In January 2024, the FTC ordered Intuit to fix its misleading ads for "free" tax preparation software - for which most filers wouldn't even qualify. As of March 2024, Intuit has stopped providing its free TurboTax service.

Drip pricing Drip pricing is a pattern where a headline price is advertised at the beginning of a purchase process, followed by the incremental disclosure of additional fees, taxes or charges. The objective of drip pricing is to gain a consumer's interest in a misleadingly low headline price without the true final price being disclosed until the consumer has invested time and effort in the purchase process and made a decision to purchase.

Confirmshaming

Confirmshaming uses shame to drive users to act, such as when websites word an option to decline an email newsletter in a way that shames visitors into accepting.

Misdirection Common in software installers, misdirection presents the user with a button in the fashion of a typical continuation button. A dark pattern would show a prominent "I accept these terms" button asking the user to accept the terms of a program unrelated to the one they are trying to install. Since the user typically will accept the terms by force of habit, the unrelated program can subsequently be installed. The installer's authors do this because the authors of the unrelated program pay for each installation that they procure. The alternative route in the installer, allowing the user to skip installing the unrelated program, is much less prominently displayed, or seems counter-intuitive (such as declining the terms of service). Confusing wording may also be used to trick users into formally accepting an option which they believe has the opposite meaning. For example a personal data processing consent button using a double-negative such as "don't not sell my personal information".

Privacy Zuckering "Privacy Zuckering" – named after Facebook co-founder and Meta Platforms CEO Mark Zuckerberg – is a practice that tricks users into sharing more information than they intended to. Users may give up this information unknowingly or through practices that obscure or delay the option to opt out of sharing their private information. California has approved regulations that limit this practice by businesses in the California Consumer Privacy Act.

… excerpt ends here. Continue reading the full article.

Illustrations

Dark pattern: Web pop-up with dark patterns:Fake urgencyOffer of dubious valueFake social proofObscure opt-out with confirm-shamingHard-to-click preselected checkbox with trick wording
Web pop-up with dark patterns:Fake urgencyOffer of dubious valueFake social proofObscure opt-out with confirm-shamingHard-to-click preselected checkbox with trick wording
Dark pattern: Harry Brignull in 2010
Harry Brignull in 2010

Worked examples

Example 1 — a first encounter with Dark pattern

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

In research
Dark pattern 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 Dark pattern 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
Dark pattern is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2010 neologisms, Anti-patterns, Computer ethics, so understanding it makes those chapters shorter.
In everyday life
Look for Dark pattern 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 “Dark pattern” →

How to study Dark pattern in 20 minutes

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

Frequently asked questions

What is Dark pattern in simple terms?

A dark pattern (also known as a "deceptive design pattern") is a user interface that has been carefully crafted to trick users into doing things, such as buying overpriced insurance with their purchase or signing up for recurring bills. User experience designer Harry Brignull coined the neologism o…

Why does Dark pattern 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 Dark pattern?

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 Dark pattern.

Tags

  • 2010 neologisms
  • Anti-patterns
  • Computer ethics
  • Consumerism
  • Graphic design
  • Technology neologisms
  • Web design

Keep exploring