4 ms·
http://urchin.earth.li/~twic/twic.py http://urchin.earth.li/~twic/twic.py excellent. and great comment: """This is Tom's personal Python subroutine library. Y
by peripatetic 17y ago
http://urchin.earth.li/~twic/twic.py http://urchin.earth.li/~twic/twic.py
excellent. and great comment:
"""This is Tom's personal Python subroutine library. You are not expected to understand this.
Warning: this file contains HIGH MAGIC and DEEP VOODOO, as well as quite a bit of QUESTIONABLE CODE and very few COMMENTS. Use with caution.
ha!
- diN0bot 17y agoso....what's excellent about it.... or do you mean you find it useful to use? i'm personally very cautious about introducing "magic" and "voodoo" into my repositories. i many times have to tweak libraries (add features, fix bugs), so it's worth them making sense without me having to refactor them first (i did this with qunit, tho...it's hard to generalize, eh?). more importantly, it's important to me that new developers ramp up fast. there's something about collaboration that many lone programmers don't grok. similarly, the code must make sense to me next month. extensibility and maintainability are almost inversely related to voodoo and magic. good abstraction, handling complexity through elegance, now these are worth having. it can be quite hard separating good programming from bad. it is even harder when the work itself is complex in nature, although that is when good programming really shines.