On 1/29/14 2:45 PM, Daniel Micay wrote:
It's more painful than the same API without a context object, whether
or not it feels idiomatic.

I disagree. Context objects are very nice for making state explicit. OpenGL, for example, would be a far nicer API if it used context objects instead of being dependent on hidden global state everywhere.

Patrick

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to