Coding style

Bsoft is written to facilitate the rapid development of image and molecular processing applications. The coding style is kept simple and designed to avoid ambiguities. There is a certain formalization and discipline required to code this way, as laid out in the following guidelines:

Image file formats

The varieties of image formats and even greater varieties of programs producing files of these formats, mean that problems are encountered because the programmers did not adhere to a complete and up to date specification of a format, and typically took shortcuts to avoid having to deal with all the issues included in a file format. This generates problems such as poor data type support, omission of statistical information, and even garbage in some fields which make well-behaved programs crash. Here are some of the policies in Bsoft dealing with such sloppiness in image format handling: