Tag Archives: programming

Writing unmaintainable code in five easy steps

I have recently had to modify some code that, to say the least, was very hard to maintain — or refactor, for that matter. The following are a few, firmly tongue-in-cheek, steps to make sure your code is thoroughly frustrating … Continue reading

Posted in Anecdotes | Tagged , , , | 1 Comment

A few final words on functional programming

The previous two installments of C++ for the self-taught were both about functional programming. Before we get back to Chausette, I’ll put in a few final words on the topic, combining both run-time functional programming with compile-time functional programming and, … Continue reading

Posted in C++ for the self-taught | Tagged , , , , | Comments Off on A few final words on functional programming

Functional Programming at Compile-Time

In the previous installment I talked about functional programming a bit, introducing the idea of functors and lambda expressions. This time, we will look at another type of functional programming: a type that is done at compile-time.

Posted in C++ for the self-taught | Tagged , , | Comments Off on Functional Programming at Compile-Time

Using Ranges and Functional Programming in C++

C++ is a very versatile language. Among other things, you can do generic meta-programming and functional programming in C++, as well as the better-known facilities for procedural and object-oriented programming. In this installment, we will look at the functional programming … Continue reading

Posted in C++ for the self-taught | Tagged , , , | 1 Comment

Starting Python – 99 bottles of beer

After a brief discussion on the subject on StackOverflow chat, I’ve decided to try my hand at Python, using the on-line IDE at Ideone.com. Here is my rendering of “99 bottles of beer” in Python…

Posted in Python | Tagged , | 1 Comment

Working on a programming language

Like a warm spring breeze
writing is to summer’s dawn
as language to dusk Continue reading

Posted in C & C++, Opinions, Software Design, Technology | Tagged , | 1 Comment

Funky, functional programming and looping

functional combines
programming summers into
sheerly fun coding Continue reading

Posted in C & C++, Software Design | Tagged , | Comments Off on Funky, functional programming and looping