Why they followed an erratic path instead of going full steam ahead with their Maemo/Meego platform is quite well described by the article, but does not sound less stupid to an outsider. They had a device that was in some fronts superior to iPhone much earlier, but they got stuck with Symbian first and Microsoft afterwards.
[1] http://www.theverge.com/2011/10/22/2506376/nokia-n9-review