Re: Use (f)puts instead of (f)printf when possible.
Sam Steingold <[email protected]>
| Newsgroups | gmane.lisp.clisp.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Bruno, > * Bruno Haible <[email protected]> [2017-08-24 23:11:32 +0200]: > > #define fprint(fp,string) fputs(string,fp) > #define print(string) fputs(string,stdout) I don't like this for 2 reasons: 1. I am opposed to gratuitous deviations from the standard coding practices because they raise the barrier to entry for new people. 2. I prefer names that are not substrings of other names for the sake of grepping convenience. E.g., I would use `cprint` instead of `fprint' and `cputs` instead of `print` ("c" stands for CLISP &c) Thus I am with Pascal and Joerg on this. However, I don't think this is important enough to warrant further discussion. Thanks. -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504 http://steingoldpsychology.com http://www.childpsy.net http://honestreporting.com https://jihadwatch.org http://think-israel.org http://americancensorship.org If You Want Breakfast In Bed, Sleep In the Kitchen. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ clisp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-devel