We should come up with more descriptive names than "widget" and "desktop," we should be clearer in code and documentation about the significance of client types, we should become clearer about whether Broflake is designed to let implementers build arbitrary clients out of lower level components or whether it's designed to enforce only a couple of higher level constructors, and we should expose simpler, higher order constructors to developers -- like NewBroflakeWidget and NewBroflakeDesktop.
Background discussion emerged in https://github.com/getlantern/broflake/pull/81
We should come up with more descriptive names than "widget" and "desktop," we should be clearer in code and documentation about the significance of client types, we should become clearer about whether Broflake is designed to let implementers build arbitrary clients out of lower level components or whether it's designed to enforce only a couple of higher level constructors, and we should expose simpler, higher order constructors to developers -- like
NewBroflakeWidget
andNewBroflakeDesktop
.