Sunday, 14 December 2008

Open source is great

I'm proud and happy to proclaim my Russian PLansliterated vimscript dead. Some nice guy have taken a look at it and developed a superior solution, so Russian PLansliterated shared a destiny of my pygments' lexer for Scala.

An interesting meta-solution emerges:
  1. Realize that you have a quite general problem
  2. Write 15-30 min hack solution to it. It may work a little crappy, but it's good if it's easy to read and extend.
  3. Open source it
  4. Wait...
  5. Next time you'll have the same problem someone has improved your solution beyond the recognition, so you can dump the old one.

It seems that improving something that exists is psychologically easier that starting from scratch. My new slides about Scala (download them, browse the source or watch them online) were made using pygments with new shiny lexer developed by someone pissed off by quality of an old one. Open Source is great, isn't it?