LCB

Peter TB Brett peter.brett at livecode.com
Sat Jul 30 12:59:13 EDT 2016


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.brett at livecode.com>
LiveCode Technical Project Manager

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




More information about the use-livecode mailing list