Jawmuncher
Member
It's 2,000 lines of Python. The database backend is SQLite, although it's really at the point that I should be migrating it to something a little beefier. It does run on Linux. The code is in pretty rough shape (although I just rewrote the moderation side a few weeks ago and that side is awesome right now).
Here's a screenshot from the code, the beginning of the portion that does post edits. I think I wrote this particular version of this code maybe 18 months ago? Click for full size:
Here you can see several bad coding habits:
- Editor set to 8-space tabs, when it should be at most 4-space tabs
- Tons of unspecified try-except rather than actually trying to capture specific errors
- camelCase variable names, which is against Python PEP8 spec (but I prefer them)
- Very lazy character encoding handling
This is definitely some next level shit, compared to what I am doing.
I do appreciate the slight look into modbot though. Definitely reminds me I have quite a ways to go.