4 ms·
"A good example is "give me the square of all the items in this sequence who are divisible by 3"" A good example? Really? You get paid to write stuff like tha
by efsavage 16y ago
"A good example is "give me the square of all the items in this sequence who are divisible by 3""
A good example? Really? You get paid to write stuff like that? Because I don't. If you're going to promote a language as a better solution, try solving real problems.
What happens when there's a string in the sequence? The C++ example solved that, why didn't your code?
- eru 16y agoHaskell also would solve it, by outlawing the occurence of strings at compile time.