<html><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:10pt"><div><span>more brainstorming + naivity:</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: lucida console,sans-serif; background-color: transparent; font-style: normal;"><span>what if the settings "tree" was just a tree of dicts, and then parse the tree all at once after you are done building?</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: lucida console,sans-serif; background-color: transparent; font-style: normal;"><span>would that look cleaner?<br></span></div><div><br></div>  <div style="font-family: lucida console, sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b>
 Dan Smith &lt;dsmith@danplanet.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> chirp_devel@intrepid.danplanet.com <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, January 8, 2014 7:18 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [chirp_devel] [PATCH] [vx-3] add basic settings support #1291<br> </font> </div> <div class="y_msg_container"><br>&gt; What about using a dict/keywords to initialize a setting? The below will<br clear="none">&gt; illustrate my lackluster python:<br clear="none"><br clear="none">Well, you'd use kwargs instead, but yeah, we could come up with a helper<br clear="none">to make it smaller. Even still, it'd still be too long, IMHO :)<div class="yqt3881313345" id="yqtfd91793"><br clear="none"><br clear="none">--Dan<br clear="none"></div><br><div class="yqt3881313345" id="yqtfd84614">_______________________________________________<br clear="none">chirp_devel mailing list<br
 clear="none"><a shape="rect" ymailto="mailto:chirp_devel@intrepid.danplanet.com" href="mailto:chirp_devel@intrepid.danplanet.com">chirp_devel@intrepid.danplanet.com</a><br clear="none"><a shape="rect" href="http://intrepid.danplanet.com/mailman/listinfo/chirp_devel" target="_blank">http://intrepid.danplanet.com/mailman/listinfo/chirp_devel</a><br clear="none">Developer docs: <a shape="rect" href="http://chirp.danplanet.com/projects/chirp/wiki/Developers" target="_blank">http://chirp.danplanet.com/projects/chirp/wiki/Developers</a></div><br><br></div> </div> </div>  </div></body></html>