Rainer Deyke wrote:
Pelle Månsson wrote:
File looks like a constructor. You are not constructing a file you open
for reading.

"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.

I'll rather have open as a file-opening function.

Reply via email to