HASLab doctoral thesis presents a technique that eases implementation of programs

Pedro Martins, the most recent HASLab doctorate, presents, in his doctoral thesis, defended in July this year, a technique that facilitates the work of the programmer during the implementation of programs.

When a programmer develops a program, taking into account the different approaches, the complexity is huge as well as the time spent. In a real program, which has thousands of lines of code, the usual ways of creating the program require much effort from the programmer and rarely allow for a later code edition.

This alternative, framed in the maintenance and evolution of software, is simpler than the usual ones and does not require advanced programming knowledge. According to Pedro Martins, this way is more extensible than the others, allowing the programmer to adapt the whole code with greater ease. The student admits that this technique is even easier to write than the others and allows growing over time.

Still in the context of this thesis, were also created bidirectional transformation techniques. These techniques allow, for example, to transform the information contained in a calendar of a mobile phone to a calendar on a computer and vice versa. In practice, this means that a programmer that uses this technique has only to describe the transformation of a mobile phone to a computer, or describe a single direction. The bidirectional transformation automatically processes the opposite direction, thus reducing the effort of implementation by the user.