Skip to content

Instantly share code, notes, and snippets.

View adamu's full-sized avatar

Adam Millerchip adamu

View GitHub Profile
@adamu
adamu / fizzbuzz.markdown
Last active April 28, 2022 11:16 — forked from jarednorman/fizzbuzz.markdown
Fizzbuzz in Elixir

Fizzbuzz in Elixir

Elixir is a beautiful language. Among its strength is its powerful pattern matching system which allows one to write very declarative, elegant code. FizzBuzz is a trivial problem often presented to new programmers or interviewees to determine baseline programming ability. Here is a solution Elixir:

defmodule FizzBuzz do