#350: Register new settings in the script language?
------------------------+---------------------------------------------------
Reporter: toots | Owner: admin
Type: Feature | Status: new
Priority: 1 | Milestone: 1.0 beta
Component: Liquidsoap | Version: 0.9.2+svn
Keywords: | Mac: 1
Linux: 1 | Netbsd: 1
Other: 1 | Freebsd: 1
------------------------+---------------------------------------------------
Comment(by mrpingouin):
I can think of easy ways to do that, but I'm slightly unsatisfied with
settings in general, so I'm not keen to build more on top of them for now.
(Also, there is the alternative of using references.)
For example, when using set() on an undefined key, we only issue a warning
in the logs (it's silent if logs don't start), but we crash when using
set() with a value of incorrect type. A typo is easily done, and cannot be
detected early because settings are strings: crashing could be
frustrating, but not crashing hides the typo.
How about delaying this ticket until 1.0?
--
Ticket URL: <http://savonet.rastageeks.org/ticket/350#comment:1>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac