Comment Bits and Bytes (Score 1) 548
Sometimes doing things the insane way is the sanest method available.
Let me explain:
A new programmer will look for a method to transform one object to another another; a new programmer will write a method to transform some bytes into some other bytes.
A (slightly more seasoned) programmer will realize that even though you are using a higher-level language, someone inevitably said "f*ck it" at some point, and built byte arrays[] and so on into the various namespaces / classes, and that it's more of a search for the right namespace than inventing the wheel for the 5000th time. From the usual 'sane' standpoint, resorting the byte[] arrays in a high level language kind of defeats the purpose of using a high level language, and yet, somehow, between the hours of 1-3 AM, it makes perfect sense for a high level language to be filled with all these nitty gritty options.