On 30/07/2016 17:52, Mike Kerner wrote:
The thing I don't have my brain wrapped around, yet, is why one would use
the LCB library-building functionality instead of building a library
stack.  I'm interested in what you're doing, Trevor, and how you're using
LCB, as I have ideas on how to make adopting LCB easier, for me, anyway.

I prefer writing libraries in LCB because:

- LCB libraries aren't in the message path; they get selected for dispatch in the same way that engine commands do

- I find LCB libraries easier to test (built in unit test syntax)

- LCB has block scoped, strongly-typed variables

- LCB lets you pass handlers around as values

- LCB has lists

                                 Peter

--
Dr Peter Brett <peter.br...@livecode.com>
LiveCode Technical Project Manager

LiveCode 2016 Conference https://livecode.com/edinburgh-2016/

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to