Good programming practices

flow

FlowTree – my software for data processing

August 29th, 2011

I want to present very early development version of my new Open Source project. It is a program for data processing, where subprograms are connected with streams. Assumptions are similar to Unix pipelines or some other software e.g. LabVIEW or CMS/TSO Pipelines. The application is written in Java 7 so it is OS independent and use new features of this programming language. More…

Control flow with String

December 27th, 2010

Motivation

Some programs are controlled by short commands in text form. They may come from user, to be read from a file, or received from another program. This make communication with such a program easier and clearer for other programs. This is a special and simplified case of Interpreter design pattern.

Applications

  • Programs, which gets parameters from the command line.
  • Servlets, for which data are sent using GET or POST.
  • Applets on web pages where the parameters are placed in HTML.

For performance reasons, it is better when there will be interpreted many groups of parameters in a single code run. More…