4 ms·
This is the kind I do on my whiteboard when I feel like procrastinating a new language.. but I find it terribly cool that you've been forward with this and star
by d0m 15y ago
This is the kind I do on my whiteboard when I feel like procrastinating a new language.. but I find it terribly cool that you've been forward with this and started implementing it :)
Also, I didn't get how you would make the difference between a closure and a simple boolean?
For instance:
users map(age > 20)
and
users show_age(age < 40) # Because for some reasons, people > 40 don't like to say their ages ;)
Also, I don't know if you know the Arc language, but I'd suggest reading the tutorial written by pg. I particularly like how all functions are shortened.
I.e. keep instead of filter/select, etc.
Also, something cool is that if a literal instead of a lambda is given to keep, it will use the identity function.. (keep 'a '(a b a c)) = '(a a)
Good luck with that :) (And forget about the "Do we need another language crap"; they say that on about any new languages. (Hint: We'd still be using C++))
- tjholowaychuk 15y agohaha thanks man. yeah I agree, the day I stop playing around as a programmer, is the day I'm dead. Every programmer should explore different aspects of CS and have fun doing it. I'll check out Arc!