View Single Post
Old Jun 9th, 2006, 7:40 PM   #20
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
Quote:
Originally Posted by splinter9x
BTW I know I prolly didn't post it in a way of a joke.
So which one is it? Either it was a joke or it wasn't?

Bear in mind that the vast majority of us do not read minds. Not everyone knows what you're saying or what you're thinking - similarly someone may misread something you typed. I don't think it's appreciated that you had an unfounded go at someone attempting to learn. Language forums are for providing help or constructive criticism - neither of which you contributed, I'm afraid.

titaniumdecoy: A general rule of thumb I personally have when using filter/map: if you're calling an inbuilt function, you're better off using filter/map as it's quicker to type and will run faster as the implied loop is pushed into C. However, if you're doing simple checks like looking up a value or comparing values or some such then you're better off with a list comprehension. It's a fair bit easier on the eyes and it will run faster too. Again - personal preference, just my two cents. Find what works best for you and be consistent.
Cerulean is offline   Reply With Quote