Talking about licenses in Gothenburg tomorrow

Tomorrow (April 23) Rikard Fröberg and I will talk a bit about licenses. We will focus on how you can use FOSS (Free and Open Source Software) in your biz or projects.

After our talk you can see a presentation on the new Beaglebone.

More info (Swedish) here:

Search less and find more (knowledge)

No, it’s not my usual ramblings on me sucking more less. I don’t think I ever will suck more less than I do. Tried it – have given up. This time I will talk about search engines, old way teachers and lazy students. Guess this addresses most programming education but I will use my experience from teaching university students. So in short, this post will be about exercises for university students. Hopefully you can provide some clever thoughts and/or experiences. Please do so (see below)

Ok, let me start with an example Java exercise:

Write a method that takes a date as an argument and converts it to a string representing a date in the format 1996-04-22.

It’s not a Nobel prize exercise and I am not claiming it’s a perfect one but let’s focus on the purpose and solution of the exercise.


The students should read about the Date and some DateFormat class. This way the students get to know the Date class and get familiar with a DateFormat class. It’s not unlikely that the students also will learn about the String class.

Old way solution:

This is how I (as a member of the Old Farts Club) would have solved it back in the good old days – apart from the fact that Java wasn’t invented in the good old days. I would have read about the Date class and a DateFormat class. The latter class I would stumble on while reading about Date. I would have gained some knowledge about Date and gotten familiar with a DateFormat class. I would also have learned about exceptions. I would have fulfilled the purpose of the exercise. Man, I am so terrific.

BTW: Old ways is a great album by Neil Young. Go listen to it. Now!!!

New way solution or perhaps No way solution:

The students of today – man I sound as if come from the 1700 hundreds – will most likely solve by entering a search string into a big search engine: “convert string to date in java yyyy mm dd”.  Ok, let’s try it with some search engines:

All three links give me a direct answer to the exercise. And we can safely assume the students will find the solution too. But the students will not read about either of the classes (Date and some DateFormat). Purpose of the exercise will not be fulfilled.

So this leaves us with the topic of today: The larch… sorry, the Problem with exercises:

The exercises we (teachers) write are not solved by the students the way we want them to be solved.

This is because, either:

The students are lazy.
The teachers are lazy.

I would say that both are true. But fixing one will not solve anything. We need to tackle both problem. As I ramble on right now I see two groups of solutions:

Lazy teachers – exercises and tests

Teachers have to put a bit more effort in writing exercises. Here are some of the things I have in mind about exercises.

  • Better and more exercises that in a more fine grained way increase the knowledge curve. With better here I mean to state smaller problems that makes it useless to use search engines.
  • Tests for the students to make it possible for them to self check if they’re doing alright and can proceed to the next chapter.
  • Better sync with theory. When I learn stuff I prefer theory first and exercises after. It seems to students of today don’t think like me.

Lazy students – learn students how to study

We (apparently) need to teach the students how to study. Yes, I do mean how to read a book. In some cases I’ve gotten really loud and what I believe them to think rightful sighs over having to read one simple page. So in some rare cases, one page is considered much to read. Perhaps even too much to read. I know that sometimes I am not very eager to read one page and most likely will sigh – but still, I think the way a student look at the amount of work that needs to be done in order to gain knowledge have decreased the last years. And it is decreasing.

  • Read – yes, I really do think we need to learn the students how to take time to read literature. And to do this with no social apps, no email, no music (not even Bach or Black Sabbath), no chat, no browser, … no nothing. Only the book – be it pdf or a paper book. Oh yes, what about Flipped classroom. Students still need to read the literature when using Flipped classroom.
  • Take notes. This is good if the student later on wants to ask the teacher. The student should read the notes to get reminded about the important stuff.
  • Read again. Are you kidding me? No, I am not. Read the chapter again (at least).
  • Do the exercises. Also teach the students how to make small variations of the exercises – that is exercise even more than there are exercises.

Before we proceed, I feel I need to give an example of a discussion I’ve had quite a few times:

– Why haven’t you showed us concept A, and why doesn’t the book teach us about A?

– I have showed it to you two times during lectures and the book talks about it on two pages and those pages are in the list of pages to study.

– Well, I don’t think that the book is clear.

– What in the book is not clear?

Usually the discussion ends here. I ask them if they’ve read the book and they admit they haven’t. Ok, time to put the blame on the student? No, too easy. Again, teachers and students need to relearn. What was it Clint Eastwood said in that movie, “Improvise, adapt and overcome”?

Here’s what I think work best:

  • Try to sneak in some coming topics in the last exercises. This way I hope to get more attention during coming lecture (be it normal lecture or flipped classroom).
  • Write lots of exercises – even variations on a theme (I am thinking about Haydn here).
  • Provide well documented solutions – perhaps even step-by-step videos.
  • Interesting problems – sorting bank accounts in alphabetical order is <beep> boring.

Wanted: Your input

I am quite sure, fact is I am 100% sure, you have opinions (you better, you better, you bet) and most likely have better solutions than I do, so comment away. I will compile all input on all education related blog posts later on. So

  • What is a good exercise?
  • How do you get a good progression in your exercises?
  • How do you mix theory and practice?


Future ramblings will (most likely) be about:

  • So when do we learn the univ students to study? Is it the really the universities that should teach the students how to study?
  • Ignoring, letting go of or helping “weaker students”?
  • What’s the purpose of a school system anyway? – who’s “the customer”? Academia, industry, public service, humans, …..?