So, two things that bug me about python, from the little I've used it.
1. the open function is in the global namespace, but the rest of the file-related functions are in a File class.
2. the string join is implemented as a method on the separator string.
Both of those strike me as really dumb design decisions... And they bugged me too much to want to look into it much further.
My implementation of map in perl is pretty decent, though. Though it's more of a distributed processing interface than a parallel processing interface. Since it sits on top of our cluster management software, etc. It's pretty neat, I think. I need to implement reduce next, though that's not as useful (to me). Most operations I need to implement tend to be 1-1.
Comments 3
1. the open function is in the global namespace, but the rest of the file-related functions are in a File class.
2. the string join is implemented as a method on the separator string.
Both of those strike me as really dumb design decisions... And they bugged me too much to want to look into it much further.
My implementation of map in perl is pretty decent, though. Though it's more of a distributed processing interface than a parallel processing interface. Since it sits on top of our cluster management software, etc. It's pretty neat, I think. I need to implement reduce next, though that's not as useful (to me). Most operations I need to implement tend to be 1-1.
Reply
You know you want to. Come on...
Reply
However, if white space counts, count me out.
Reply
Leave a comment