Slashdot Mirror


User: ruroshin

ruroshin's activity in the archive.

Stories
0
Comments
2
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2

  1. Re:What kind of verbosity? on Comparing the Size, Speed, and Dependability of Programming Languages · · Score: 1

    for(object o in list) {
      Item item = (Item) o;
      System.Out.Println(item);
    }

    For a one liner you don't need the brackets and you don't have to cast objects if the list was properly declared. You could write above:

    for(Item item: list)
        System.out.println(item);

  2. Re:Old Real Estate Adage on Climbing up the Search Ladder · · Score: 1

    Not as busy as her kid!