Skip to main content

Posts

Showing posts from May, 2018

A Trinity Sunday FizzBuzz Variation

Happy Trinity Sunday! For those not familiar, Trinity Sunday is the day in the Church liturgical calendar that celebrates the great mystery of the Holy Trinity, the doctrine that Christians worship a 3-in-1 God. God the Father. God the Son. God the Holy Spirit. Three Persons and One God. As introductions go, Wikipedia's is a bit heavy , but the whole doctrine is one of the great mysteries / paradoxes / intellectual conundrums of orthodox Christianity. This year, as Trinity Sunday approached, I was thinking thoughts related to job interviews. One of the classic entry-level programming tests for such interviews is the FizzBuzz challenge , in which one is challenged to print the numbers 1 to 100 but, if the number is a multiple of 3, print "Fizz", if a multiple of 5, print "Buzz", and if a multiple of both 3 and 5, print "FizzBuzz" I am not going to offer a solution to either FizzBuzz or my variation. A simple internet search will reveal implementat

Pentecost and the Gift of (Programming) Languages

Last Sunday was Pentecost Sunday, which is a big deal in my tradition (Anglican church in Canada). During the festive celebration, the preacher (full disclosure: it was my turn in the rotation) spoke about the coming of the Holy Spirit and the gift of languages, as the apostles spread the news of God's love and of the Jesus by miraculously speaking in a whole pile of new languages. There was a real risk that the early believers would turn into a local sect, a regional oddity within the larger Jewish religion. Then the Holy Spirit came and literally blew them out into the streets, where they told visitors from all the surrounding nations their great news. It was, in tech-jargon, saying "Hello, World!" in a dozen or more languages. Or, more specifically, their message was "Hello, World! God loves you and Jesus Christ died for you!" Hello World being the classic first-program in any new language. There are hundreds, nay thousands of programming languages, and I