Women in Technology

Hear us Roar



Article:
  Technologies to Watch: A Look at Four That May Challenge Java’s Development Dominance
Subject:   A question
Date:   2005-10-29 08:52:49
From:   ttfkam
Response to: Not maintainable or english

What is the equivalent of the following?


for (i=0; i<100; i+=4) {}


Not attacking; I'm honestly curious.

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • Sorry, I should have been more specific
    2005-10-29 08:55:51  ttfkam [View]

    How can you write the equivalent without introducing a temporary variable?
    • Sorry, I should have been more specific
      2006-01-01 14:21:56  ck1125 [View]

      No one has answered the question about
      for (int i = 0; i < 100; i+=4)
      Can this be done in Ruby?

      • Sorry, I should have been more specific
        2006-01-23 04:49:11  jzabiello [View]

        (1..100).step(4)

        Any questions?