Rainer Deyke wrote:
Note that 'open ("foo.txt", O_RDONLY)' is perfectly valid C code for opening a file (unbuffered).Pelle Månsson wrote:Rainer Deyke wrote:"open" by itself is ambiguous. What are you opening? A window? A network port? I think the word "file" needs to be in there somewhere to disambiguate.Something like new BufferedReader(new FileReader("foo.txt"))? It's quite unambiguous.No, like 'file("foo.txt")' or 'fopen("foo.txt")'. There's always a trade-off between verbosity and clarity, but names that are both reasonably short and reasonably unambiguous exist.
Jerome -- mailto:jeber...@free.fr http://jeberger.free.fr Jabber: jeber...@jabber.fr
signature.asc
Description: OpenPGP digital signature