---
title: "Cards against compilers"
description: "First seen in this tweet:\nCards against compilers! pic.twitter.com/ZK6nvOgQ7Q\n— Ⓒⓐⓡⓞ (@_Caro_N) May 4, 2016 There seems to be a PDF out there somewhere from CPP Con, but I couldn’t find it.\nThe …"
image: https://deterministic.space/cards-against-compilers-og.png
url: https://deterministic.space/cards-against-compilers.html
author: "Pascal Hertleif"
date: 2016-05-06
categories: ["fun"]
---

# Cards against compilers


First seen in this tweet:

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Cards against compilers! <a href="https://t.co/ZK6nvOgQ7Q">pic.twitter.com/ZK6nvOgQ7Q</a></p>&mdash; Ⓒⓐⓡⓞ (@_Caro_N) <a href="https://twitter.com/_Caro_N/status/727688154627506177">May 4, 2016</a></blockquote>

There [seems](https://twitter.com/_Caro_N/status/728749777999925248) to be a PDF out there somewhere from CPP Con, but I couldn't find it.

## The original cards

Cards visible in the picture. Would love to add some own ideas later on.

### White

- template meta-programming
- debugging with print statements
- a sharply worded assertion
- adding another layer of abstraction
- "clever" programming
- other people's code
- global variables
- semantically important whitespace
- templated conditionals
- elegant, but impractical, code
- opening braces on new lines

### Black

- Only use \______ if you are truly desperate.

## Similar card sets

- [Nerds against humanity](http://www.laurieneilsen.com/nah.html)
- [DevOps Against Humanity](https://github.com/bridgetkromhout/devops-against-humanity)
- [Cards Against Developers #2](https://www.cardcastgame.com/browse/deck/3FAGW)

