Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Deborah Pickett
Deborah Pickett
@futzle@old.mermaid.town  ·  activity timestamp 5 days ago

#Christmas #coding #challenge: write a program that prints the full lyrics to the Twelve Days of Christmas, but be #weird about it.

Choose whatever programming language you like. Use the language’s idiosyncrasies to your advantage.

For example, in C you might blend a for-loop with a switch-statement and liberally use case fallthrough. In BASIC you might use computed GOTO. In HTML+CSS you might use counters and selectors to do the numbering. In SQL you might use SQL.

Go.

Submissions so far in: awk, C, Clojure, Haskell, JavaScript, LINQ, Lua, nu, Perl, PostgreSQL, Powershell, Python, Ruby, Rust, Terraform, XQuery, XSLT, as well as a hardware implementation on an Arduino and a couple of very cool visualizations.

  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.40 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct