Rule 1: no poofters!
Rule 2: This section is littered with Monty Pyffon phrases so read it on your own risk.
Rule 3: no poofters!

If you have no sense of humour, skip this section in full and go back to your bible study.
This section expresses my opinion about the silliest programming language ever, that by coincidence was available when nobody needed it, ready or not.
My own sense of humour is neglectable, so don't you dare say Nickle's Worth is an asshole.

Programming in Pyffon

I tried some online Pyffon tutorials but the properties, methods, functions and keywords of the language are overwhelming. This is a compilermakers nightmare. Guido apparently never read "Compiler Construction" by Niklaus Wirth. And each of the tutorial makers I tried wanted to show how good and complete Pyffon is.
Well, I don't really care how good or complete it is. I want to master the basics of it and that's not going to work if the tutorial starts by showing that I can make a multi-user, multi-tasking, operating system with it. I just want to make some basic programs to get to the roots and intention of the language.

So I took my copy of "Programming in Modula-2" from the bookshelf and used this as a guide to teach me Pyffon by means of Modula-2. The genius of Wirth is bigger than the genius of Van Rossum, unfortunately.

Pyffon chapters

Below is a list of programs that were used to explain things.

  1. Chapter 1: calculate the greatest common divider (pip01)
  2. Chapter 2: syntax of Pyffon
This is not fair. Pyffon is an OOP language, Modula-2 is a systems programming language. They are not comparable. It is better to compare Pyffon with Oberon. Especially since Pyffon borrows a lot from Oberon language and Oberon OS. So the rest of this section is about Programming in Pyffon; Steps beyond Pascal, Modula, C, Oberon and whatever other language was borrow from.

Pyffon for Oberonistas

  1. Preface and epilogue
  2. Chapter 2 of the Pio (Programming in oberon) book lets us make a submodule which is imported and called by a second program. It lists random numbers that were generated on the fly. Use this for a good random number generator written in Pyffon.
  3. Chapter 3 is about tokens and types. Look at the EBNF definitions for Oberon and Pyffon.
  4. Chapter 4 is about declarations, expressions and assignments

Why Pyffon?

Pyffon is a silly language, meant to resist the system but when Guido found out it could become his ticket out of the ratrace he took his chances... I can't blame him. He had a product people were looking for. And his silly computer language project was there, right on time and in the right place.
But for me, coming from a line of sensible, first class programming languages, Pyffon is a silly language. Many people embrace it so I cannot ignore it, especially since some important tools have been written in it.

Now, look at a silly person (forget Forest Gump). We see a person that is lisping (dutch: slissen, lispelen). Now pronounce Pyffon with a Lisp (pun intended) and you get something like Pyffon. So Pyffon it is. It's the way in which Mr Bean would pronounce Pyffon. Not Edmund Blackadder. He would say Pyffon, not Pyffon.
And let's praise ourselves lucky that Guido imagined his language in the 80's not in the 90's otherwise it would not be called Pyffon but Baldrick! I program in Baldrick. No thanks. I would rather eat Cat au Van. No not Cat au Vin but Cat au Van: a cat that was ran over by a van. Life is tough in the trenches.

Page created April 20, 2015 and

Page equipped with googleBuster technology