Is there a difference between foreach and map?

Posted by Robert Gould on Stack Overflow See other posts from Stack Overflow or by Robert Gould
Published on 2008-12-10T02:09:29Z Indexed on 2010/05/28 22:02 UTC
Read the original article Hit count: 145

Ok this is more of a computer science question, than a question based on a particular language, but is there a difference between a map operation and a foreach operation? Or are they simply different names for the same thing?

© Stack Overflow or respective owner

Related posts about language-agnostic

Related posts about computer-science