Thursday, March 3, 2011

F# for beginners?

I think not:

"The mapfirst function takes a function as the first argument and applies it to the first element of a tuple that's passed as the second argument"

Try explaining that to someone new to programming...

2 comments:

  1. Cherry-picking, are we?

    How about this one: "Returns: The first iterator i in the range [first ,last ) for which the following corresponding conditions hold:
    *i == value , pred (*i) != false. Returns last if no such iterator is found."

    But we all know that the only True Beginner Language(tm) is Python, so it doesn't really matter :-)

    ReplyDelete
  2. Well what you're describing there are not "essential" features of C++, more like extension libraries. I wouldn't start anyone with iterators and STL, God forbid :)

    ReplyDelete