advertisement

Article:
  Technologies to Watch: A Look at Four That May Challenge Java’s Development Dominance
Subject:   Seaside link
Date:   2005-10-20 13:12:42
From:   GustavoHexsel
Response to: Seaside link

You gotta be kidding. I do think Java is overweight, but saying


x1, x2 = 0, 1
10.times do
puts x2
x1, x2 = x2, x1+x2
end


is more concise and readable because a whole bunch of statements are packed like sardines in the same line is a joke. You can do that in Java, it's just not a common practice because IT SUCKS to read.

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • Seaside link
    2005-10-20 13:16:56  Bruce A. Tate | O'Reilly Author [Reply | View]

    Which part? The 10.times? Seems like English to me...

    Or the x1, x2 = x2, x1 + x2

    versus having the temporary variable? No thanks...I'll take the parallel assignment.

    I think you've got Java on the brain.