Programs Every Programmer Has Written [possible satire]

This is a list of programs every programmer has written from scratch at one point. By “every” we don’t mean everyone, just that it’s a general trend for enthusiastic computer workers to write one or more of these at a point:

  1. Hello, world — ;-)

  2. An Interpreter for Scheme (= a relatively minimalistic dialect of Lisp)

  3. A templating system or HTML preprocessor

  4. A database abstraction layer, or Object-Relational Mapper (ORM)

  5. An IRC bot

  6. An interpreter for his own language (possibly embedded in text)

  7. An ad-hoc Content Management System (CMS).

  8. A program to calculate the digits of Pi.

  9. A prime numbers-related program (prime factoring, prime generation, etc.)

  10. A “build system” (normally just a makefile generator).

  11. A program to render the Mandelbrot set.

  12. A simulator for Conway’s Game-of-Life.

  13. A Towers of Hanoi program.

  14. FizzBuzz (although the post that originally popularised it claimed that most candidates for programming positions were unable to write it).

Portfolios

Programmers' portfolios of these:

Shlomi Fish’s

  1. Hello, world:

  2. I started to write a Scheme-to-Perl 5 compiler, but did not get very far.

  3. I wrote SEFL (= "store-engine formatting language") and TEFL (= "text-embedded formatting language").

  4. I wrote a Lightning Talk about Meta-Data Database Access.

  5. I do not recall having written an IRC bot.

  6. I wrote TEFL (= "text-embedded formatting language") and Test-Count.

  7. I wrote some custom SSGs.

  8. Calculate Pi in C++ and Perl.

  9. I wrote some prime numbers-related programs for Project Euler and earlier.

  10. My homesite's makefile currently includes 14 lib/make/generated/*.mak fragments, generated by HTML-Latemp-GenMakeHelpers and other codes.

    1. python + numpy

    2. C++

    3. Perl + PDL

    4. Matlab

  11. Game-of-Life in Lua

  12. Towers of Hanoi in Perl 5

  13. I wrote open-source FizzBuzz in several languages

Licence and Credits

This article originated from the Perl.net.au wiki. It was mostly written by Shlomi Fish with some help from Stennie.

The licence is the Creative Commons Attribution Share Alike Australia Licence dually licensed with the Artistic Licence.

Coverage