Programming Fun

The importance of programming has often been debated in computer science. Within our own field, some argue that programming is easy (“any idiot can program”, “I taught myself programming in three weeks”) and that the difficulty lies elsewhere (“it’s all about algorithms”, “it’s all about system architecture”). I’m not convinced that any idiot who learned programming in three weeks is going to write good programs, but this would be a topic for another page. What us programmers can agree on, is that programming is often fun. This is the focus on these pages.

Java

Some Java stuff, with no particular theme.

Programming in PostScript

PostScript, an exchange format for graphics designed by Adobe, is actually a programming language. What I like about it is the idea of printers running loops and recursive functions!

TLA+

TLA+ is not a programming language but a modelling language, which can be used in conjunction with model-checking tools to find mistakes in algorithms and system designs, especially in the presence of concurrency. Here is an example of applying it to a faulty Java bounded buffer implementation.