coding posts

Read about our day to day discoveries, the trips we take around the world, our personal developments and news about the things we do at Manas.

  • The command pattern is a behavioural pattern that encapsulates a request made to a certain object inside a Command object. Each type of command knows how to Execute() itself, as well as its target instances. ...

  • You know that in C++ a template instatiation like: Foo> is problematic to parse. Nevertheless, Java seems to repeat history and chosed the same simbols for it's generics, but...

  • Yesterday I spent some time reading about Haskell implementations of Monads because I want to prepare some exercise. I share some links and snippets. http://www.haskell.org/tutorial/monads.html http://www.haskell...

  • I've written a simple class to allow adding autocomplete to a TextBox. An example of how to use it is: In the XAML file:

  • Sep 15 2008
    Controls Contract

    An interesting feature of Silverlight is how the interaction between visuals and logic (this is, between designers and developers) is handled. It uses a so-called Parts and States Model, which is ensured by a contract specified with attributes...