3 ms·
VERSION = "0.1.2" """ Version of the library """ This is a good example of unnecessary commenting. But I think this port misses the point of Under
by FuzzyDunlop 14y ago
VERSION = "0.1.2"
"""
Version of the library
"""
This is a good example of unnecessary commenting.
But I think this port misses the point of Underscore.js, which is to make the same functional features of the language available to all browser implementations, because not all browsers have forEach, or filter, or reduce, etc. In Python, or other languages? The features are already there.
- serkanyersen 14y agoHaha :) I don't know what I was thinking by putting that comment. Underscore.py is not trying to fill any gap in Python. It's just a port. Maybe a useful collection of tools. But I agree it's mostly pointless when there are itertools and functools.