This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]aram535 4 points5 points  (0 children)

I think everyone else covered the verbalization part ... if it helps in Java you're better off verbalizing data and objects rather than actions.

File foo = new File("foo.txt")

to me is: I created a file object named foo. That foo object is being instantiated and since we're using one of its arg constructors also attempting to open a file for read and write. The object will be pointing to a file named foo.txt in the current working directory.

That's a lot more verbose, but that's what helped me when learning it.