[chirp_devel] [PATCH] [vx-3] add basic settings support #1291
Jens J.
Wed Jan 8 17:21:45 PST 2014
more brainstorming + naivity:
what if the settings "tree" was just a tree of dicts, and then parse the tree all at once after you are done building?
would that look cleaner?
________________________________
From: Dan Smith <dsmith at danplanet.com>
To: chirp_devel at intrepid.danplanet.com
Sent: Wednesday, January 8, 2014 7:18 PM
Subject: Re: [chirp_devel] [PATCH] [vx-3] add basic settings support #1291
> What about using a dict/keywords to initialize a setting? The below will
> illustrate my lackluster python:
Well, you'd use kwargs instead, but yeah, we could come up with a helper
to make it smaller. Even still, it'd still be too long, IMHO :)
--Dan
_______________________________________________
chirp_devel mailing list
chirp_devel at intrepid.danplanet.com
http://intrepid.danplanet.com/mailman/listinfo/chirp_devel
Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20140108/b2de4c36/attachment-0001.html
More information about the chirp_devel
mailing list