4 ms·
Unless you plan to run it on some exotic Unix, why you'ld prefer portability over simplicity?
by forgotpwd16 4y ago
Unless you plan to run it on some exotic Unix, why you'ld prefer portability over simplicity?
- deleted 4y ago[deleted]
- kazinator 4y agoHow about: For an interactive program, favor simplicity over portability to more than a handful popular platforms that people are actually using. Do not favor simplicity over portability to more than one platform. (Feel free to ignore this if you work for Microsoft, as the maintainer of calculator.exe, and similar work.) Definitely favor simplicity over portability to systems that use sign-magnitude integer representations, or have 36 bit words and 9 bit bytes, or binary files that add extra zeros to pad your file to a full sector, or have no POSIX or Windows API whatsoever, or whose null pointer is not an all-zero bit pattern, ... even if your program runs on some computer they have in the basement of the Smithsonian, they are not going to to risk installing it there, and if they do, nobody will use it.