||Technologies to Watch: A Look at Four That May Challenge Javas Development Dominance|
|Subject:||Not the best Java code example|
Response to: Not the best Java code example
I think you are missing something. The multiple variable assignment is not that handy if you just need to assign two constants to two variables. You are right you could write it as two assignments and it would actually be more readable. The beauty of the multivar assignment comes when there are functions (or methods if you insist) involved. Suppose you need to return two integers from a function. Isn't it better to write
Showing messages 1 through 2 of 2.
Java as an "important standard"
2006-01-17 11:39:19 AdrienLamothe [View]
Not the best Java code example
2005-11-21 07:51:18 ikayak [View]