Wednesday 30 October 2013

It's Been a While

I haven't written much in a good while, so something of an update is in order. I've been a bit snowed under with the amount of paperwork we're doing at the college this year, which has irritated me somewhat. How it all relates to the learning process I've yet to figure out.

We are doing Java, though, if slowly. We were at a bit of a slack point the other day, so I asked the other students if they fancied a code puzzle. I mostly got blank looks, but Ricardo, Dipendra and Richard were game. Basically, the code has to output a pattern of "#"'s, like this:

#####
####
###
##
#

but the limitations are that you can only use two print statements, one for the "#" and one for the CRLF. You can use any other code you like. Richard got it within about ten minutes or so, while the others eventually gave up. To up the ante, I asked Richard to produce this:

###
####
#####
####
###

He went very quiet for a long while!

I have done quite a few shifts at the shop, notably today, where I listened to the Morcheeba album Big Calm:

No comments:

Post a Comment