binaphobia : Java Glossary

go to home page B words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish by Roedy Green ©1996-2008 Canadian Mind Products
index page for letter ⇒ punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all)
binaphobia
A phobia of binary format files. It is widespread especially in the Unix community.

Then

To understand how this fear got started you must understand what computers were like in the beginning.

In the early days, there was almost no standardisation. A byte was anywhere from 6 to 12 bits, a word anywhere from 8 to 64 bits. Every machine had at least two proprietary floating point formats. Sometimes each installation defined its own custom character set. Some machines were big-endian, some little-endian, some twos-complement, some ones-complement. Reading a file from someone else’s computer was quite an undertaking. It was easier if it was pure characters because then it was easier to decipher the format.

If a program did not work, since the documentation on the format was typically so sketchy, it was easier to deal with human-readable character data than binary data, even if it were more bulky.

Data formats were not taken very seriously. Formats were defined procedurally — whatever the program produced. This sufficed because there was very little interchange of data. If data were exchanged, it would always be read and written by the same program on the same hardware, so there was no need to define precisely what the format was.

Even mag tape densities and proprietary formats and labels caused interchange problems.

Microsoft used binary formats for its MS Word and Excel products. However they considered the format a proprietary secret. They would often change the format without telling anyone. They arranged formats to be deliberately incompatible as a dodge to trick customers into upgrading. Once Version N+1 has touched a document, Version N could no longer read it. Everyone had to upgrade to Version N+1 at considerable cost, just to be able to read their documents again. Microsoft only sold version N+1, so there was no legitimate way new users in a shop could stick with version N to avoid the problem. Microsoft traumatised programmers against binary formats. Programmers gradually decoded and document the formats as best they could. It was an undertaking comparable to breaking the German enigma code. And there was no guarantee the result was 100% accurate. Whenever programmers think binary format, they instantly associate it with Microsoft’s wicked behaviour. In NLP terms, binary format has become a negative anchor.

CORBA made a brave stab at letting you exchange binary data between different platforms. The catch was CORBA made such a production of it, that the very thought made programmers want to lie down and take a nap.

Now

Today, things have changed:

Advantages

There are several major advantages to binary formats:

Symptoms

XML is probably the fluffiest, least efficient text format ever conceived. It is the complete antithesis of a binary format. Addiction to XML is a symptom of a severe case of binaphobia.

Treatment

The binaphobic wakes in the night terrified he has written a program to create a binary format and now for some reason he cannot read the data. What can be done to reassure the binaphobic?
010 Editor: a hex/binary editor with templates
binary formats
XML

CMP homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.61] The information on this page is for non-military use only.
You are visitor number 7,643. Military use includes use by defence contractors.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/binaphobia.html J:\mindprod\jgloss\binaphobia.html