News for hackers. Stuff that matters.
Re:A success story for Haxe by brianberns on Wednesday March 25, 2015 @12:18AM (#9261261)
My point is that if you're going to iterate through the entire dictionary, there should be a way to get full key-value pairs, so you don't have to look up the value for each key. There's no need to change the entire example. Something like this:

        for ((name, job) in people) {
          trace('$name does $job for a living!');
        }

There are no comments on this comment yet.