Re:Rust and Go
by NateDad on Monday November 10, 2014 @07:18AM
(#8583119)
Instead of map/filter:
why not just write
What happens when you read that first implementation? Don't you read it as "for each machine, if its tag has the prefix "ec2", then append its name to the list that is returned? Isn't that the exact same thing you'd read the second one as? Except that the second one requires no special knowledge other than loops and if statements.
[ Parent
| on HN ]
There are no comments on this comment yet.