rblog

I’ve got a new job

After one year in Informatikk, or more correct, three months in Gravity Rock and ten months in Informatikk-nett AS I’ve sent in my resignation. From the 1’st of December I will be a consultant at Workplace Consulting http://www.workplace.no

Heroes of Telemark

Was searching for telemark skiing at Youtube when I stumbled accross this old “Heroes of Telemark”-movie. See it, and pay special attention to the last 30 seconds…”gikk det bra…??? Nei så jævlig…” http://www.youtube.com/watch?v=teylT2Hxdgw

“Aldri Kaffe, Aldri Golf”

This one is kind’a geeky, but I have to show it to you. I’m reading chapter three of my SCJP-book (Sun Certified Java Programmer) where I found this example (which won’t compile…it’s not meant to, it’s just an example 🙂 ) Read through the code, and pay special attention to the comments, I really like the last one

interface Sporty() {
	void beSporty();
}

class Ferrari extends Car implements Sporty {
	public void beSporty() {
		// implements cool sporty method 
		// in a Ferrari-specific way
	}
}
class RacingFlats extends AthleticShoe implements Sporty {
	public void beSporty {
		// implements cool sporty mehtod 
		// in a RacingShoe-specific way
}
class GolfClub { }
class TestSportyThings {
	public static void main (String[] args) {
		Sporty[] sportyThings = new Sporty[3];
		sportyThings[0] = new Ferrari(); 	
		// Ok, Ferrari implements Sporty
		sportyThings[1] = new RacingFlats(); 	
		// Ok, RacingFlats implements Sporty
		sportyThings[2] = new GolfClub();	
		// Not ok, GolfClub does not implement Sporty
		// I don't care what anyone says!!
	}
}

As some of you might know, I have a saying that goes like this “Never coffee, never golf”. I’m starting to like this book