3 ms·
let window: PistonWindow = WindowSettings::new("Hello Piston!", [640, 480]) .exit_on_esc(true).build().unwrap(); That is one of the ugliest, m
by copx 11y ago
let window: PistonWindow =
WindowSettings::new("Hello Piston!", [640, 480])
.exit_on_esc(true).build().unwrap();
That is one of the ugliest, most "accidental complexity" ways of creating a window I have ever seen.
I am certainly not going to use that.
- markus2012 11y agoCompletely disagree.
- coldtea 11y agoI don't think "accidental complexity" means what you think it means.