baalexander/rosnodejs — pull request #26 by maxired (2012-04-05 14:48:38+00:00)
Title: 0.1.0 wip - fix MD5

Hi @baalexander,
here a pull request for https://github.com/baalexander/rosnodejs/issues/24

It fix the MD5 computation of files and added some test. It seems to be working well.
Maybe i will imporve it, but I wanted to provide you very quickly a first version.

One things that I noticed during the implentation, is that others implementations tends to have a message.field for every dynamic field and message.contants for constancts. We probably also should do it this way.

Moreover, I found it annoying that the helper functions in libMessages.js are not linked to the object that we are building.
So it is difficult to share a context and lots of things has to be shared within the paramters.
I don't think this is a good things.