-
Scala — Day Two
It all seemed so straightforward at first. And it was. Until I needed to split an array into key value pairs for the second excercise. I spent about two hours trying to find a nice way f doing that. I’m not entirely happy with the way I came up with, but it works at least.The scala synta …
- On:
-
Scala — Day One
Tate compares Scala to Edward Scissorhands in his metaphorical introduction to the chapter. What I’ve seen of the language so far certainly made me feel it was a little on the odd side. Its just near enough to Java that it feels wrong when it works more Rubyishly or more Lispishly. The first …
- On:
-
Prolog — Day Three
My fears of a mega hardcore third day of prolog were not realised, and I actually had some proper fun this time round. Mr. Tate is absolutely right that making a sudoku solver the prolog way is almost magical. I’ve written sudoke solvers in perl before. And believe me it ain't pretty. With …
- On:
-
Prolog — Day Two
Day Two was challenging. Like really hard. My imperative mindset is finding the declarative approach to coding frankly odd. When things do work it feels almost magical. And in at least one of the solutions I just chanced upon the implementation by fiddling round pretyy randomly rather than having a …
- On:
-
Prolog — Day One
Its been a long time since I finished the Io section of my Seven Languages in Seven Weeks Journey. I realize that. Probably six months. That is doubleplus ungood. In my defence I must remind readers that I said at the outset that I might not do these on seven consecutive weeks. I’m just stret …
- On:
-
Io — Day Three
It all looked so easy, especially after the monster list of assignments on Io, day two. Well, appearances can be deceptive it seems. The place where I got stuck was on question three. Try as I might I couldn't override the colon operator as I wanted to do. It worked fine on the commandline. No pr …
- On:
-
Io — Day Two
Wow. Day two messed with my head. I woke up a bit tired this morning to have a crack at it and got really baffled by how to make a fibonacci sequence. Just drew a total blank. So, I dug out some old c code I had and copied that into io. Which is sort of cheating, but got me going and also helped …
- On:
-
Io — Day One
After getting Io installed, I am feeling a little smug with myself. I don't know if its just because the language is so different, or because I’ve had a beer or what but the Io introductory material seems more complex than that for Ruby. However, looking back at what was covered I suspect tha …
- On:
-
Io — Day 0, setting it up on Debian
Well, it has been a while since Ruby, so I thought it was time to have a crack at the next of the my Seven Languages In Seven Weeks challenges, its time to play with Io. As it turns out Io was a bit of a faff to install on Debian Squeeze. So I’ve written up a day 0 tute on how to do just th …
- On:
-
Seven Languages In Seven Weeks
There is an idea, popularized in the Pragmatic Programmer book that its good to learn a new programming language every year. Seven Languages In Seven Weeks takes the concept one stage further, although clearly only for certain values of learning. One is never going to be proficient at any lan …
- On: