News for hackers. Stuff that matters.
Re:Conrod – A Rust GUI Library by skybrian on Friday August 29, 2014 @01:35PM (#8243549)
It seems odd that he says Conrod has draw signatures that are "concise" and gives an example with 11 arguments. Perhaps some of these parameters should be wrapped in a struct?
Re:Conrod – A Rust GUI Library by mitchmindtree on Friday August 29, 2014 @01:39PM (#8243565)
Yeah you're right, I was lining myself up for this one :-) There are plans to merge the first three args, merge the dimension args into a Shape enum and more. Still early days with lots of refining to do!
Re:Conrod – A Rust GUI Library by perlgeek on Friday August 29, 2014 @01:42PM (#8243576)
This is also where passing arguments by name would come in handy.