Skip to content

Latest commit

 

History

History
106 lines (56 loc) · 3.03 KB

README.md

File metadata and controls

106 lines (56 loc) · 3.03 KB

Turning 'wat' into 'why'

References, puns, quips, and inspiration.

Slides

See glasnt.com/talks for the version you saw.

⚠️ WARNING ⚠️

Are you watching this talk live? Is Katie currently up on stage explaining things to you?

Then please don't read ahead and spoil the answers

This resource is provided to you to help you learn, but it's no fun if I ask you to raise your hand to guess the answers when you ahave the answer key in front of you.

Enjoy the talk. Read this later.

...

Is the talk over yet?

👀

Are you sure?

Good!

⬇️ Click to reveal ⬇️

PS and FYI: you may have gotten to this page from a number of different iterations of this talk. This repo serves as a catch-all for all talk variants, and may reference things that weren't included in the version of the talk you watched/attended.

All examples are now interactively testable!

By the power of Docker!*

* you need to have Docker installed

Clone this repo:

git clone https://github.com/glasnt/wat-references
cd wat-references

For any of the languages in this directory:

$ ./launch LANGAUGE

For example, want to check out the Ruby example?

$ ./launch ruby

This will run the Dockerfile in the ruby directory, and land you in a shell where you can work with Ruby!

Most examples are interactive terminals, but some compile and execute sample code.

All language folder READMEs also include information about how to use homebrew on macOS to run the same examples, and also additional resources, references, links, and explanations as to all the wats.

They also run a 'motd': a little bash script that shows:

  • the language version you're running
  • a reminder of where the README is
  • one or more of the examples covered.

This runs inside docker, so it can live-introspect the environment.

I will be trying my hardest to keep this repository up to date, but really all being said, getting to see the talk in person is fair more entertaining than reading a repo :)

References

See each example.

Global References

Original 'wat' talk by Gary Bernhardt

Rubber Duck (sculpture)

'wat' duck, Sydney, hofman

Florentijn Hofman, original artist behind the 'wat' duck (click and drag left/right through his studio website for the photo)

Paramatta Park photo

Drew Noakes, via StackOverflow for the tput reference implementation

Further Reading

Contempt Culture, auyrnn shaw

Why I love Legacy DevOps, Katie McLaughlin, The Recompiler, Issue 4