• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A question about English (java related )

 
Jon Lee
Ranch Hand
Posts: 134
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read a sentence from Core Java 7ED:
"You are usually better off using the collections defined in the java.util.concurrent package".

Does it mean better NOT use "the collections defined in the java.util.concurrent package"??

better off = better not??

Pls help, Thnx....
 
Rick O'Shay
Ranch Hand
Posts: 531
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It means it is usually better. The phrase "better off" is an English idiom. It makes no sense to say that you are off using X so how can you be better off? Contrast with the preposition "under" as in "better under using".

IMO it is usually better to use the java.util classes and to use the concurrency package if and when needed: locking, synchronized access...
[ September 08, 2005: Message edited by: Rick O'Shay ]
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"You are better off using X" means "You should use X".
 
Jon Lee
Ranch Hand
Posts: 134
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thnx, mates. Sorry for my english...
 
Marcus Green
arch rival
Rancher
Posts: 2813
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't apologise Jon,it is interesting what phrases are "idiomatic" i.e. not universally understood. I was interested a while ago to note that the phrase "to catch out" is widely understood by people from the UK/India but not in North America as it seems it is a cricketing term....
 
Layne Lund
Ranch Hand
Posts: 3061
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rick O'Shay:
It means it is usually better. The phrase "better off" is an English idiom. It makes no sense to say that you are off using X so how can you be better off? Contrast with the preposition "under" as in "better under using".

IMO it is usually better to use the java.util classes and to use the concurrency package if and when needed: locking, synchronized access...

[ September 08, 2005: Message edited by: Rick O'Shay ]


From the original post, it is difficult to determine the context. If this comes from Core Java Volume 2 in the chapter about threads, they may have been comparing Collections.synchronizedXxx() to the collections defined in java.util.concurrent.

Of course, that's not the point of this thread anyway, so I won't speculate any further.

Layne
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic