racker/virgo — pull request #236 by kans (2012-10-16 23:34:07+00:00)
Title: Refactoring:

We now have a generic http request wrapper than can uplaod/download files.

We shouldn't be spliting endpoint strings after load Endpoints is called as this is a verbose abstraction leak. An Endpoint is now a table instead of a string.

Code should flow like so: initialization at the top, then public, then private.

Meaningful objects shouldn't live in init.lua because tracebacks are a long list of errors in different init.lua scripts which is really hard to read.

Options suffers from high pass through. Everything gets, modifies, and passes them on which is bad.