Lightroom SDK: LrObject

  • 2
  • Idea
  • Updated 8 years ago
In my opinion, Lua is a superbly designed language.

As Einstein said: "as simple as possible, but no simpler"

There is one shortcoming however: object oriented programming was left to programmers that thoroughly understand metatables...

Adobe could do would-be object-oriented plugin developers (who understand using object oriented programming techniques but not developing them) a service by filling that void.

Perhaps something as simple as:

LrObject:new( t ) -- to create a class or instance object, and maybe:
LrObject.createClass( class1, class2, ... ) -- to create a class that inherits from multiple classes.

With some notes about how to use them.

Most plugin programmers are comfortable using Lightroom's objects, but when it comes to creating their own - eek!...

Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 386 Reply Likes

Posted 8 years ago

  • 2

Be the first to post a reply!