c# - Is data “lost” when using binary data in a string?

后端 未结 9 1892
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-16 13:58

I\'ve tried reading a JPG file using the StreamReader class\' ReadToEnd() method which returns a string.

For some reason though, when I wri

9条回答
  •  半阙折子戏
    2021-01-16 14:39

    As all Real Programmers know, the only useful data structure is the Array. Strings, Lists, Structures, Sets-- these are all special cases of arrays and can be treated that way just as easily without messing up your programming language with all sorts of complications. The worst thing about fancy data types is that you have to declare them, and Real Programming Languages, as we all know, have implicit typing based on the first letter of the (six character) variable name.

    Besides, the determined Real Programmer can write Fortran programs in any language.


    Whoever modded this down clearly has either no sense of humour or no knowledge of folklore. The above is excerpted from a very famous 1983 letter to the editor of Datamation, by Ed Post of Tektronix. The letter is titled Real Programmers Don't Use Pascal.

提交回复
热议问题