Lightroom SDK: LrObject

  • 2
  • Idea
  • Updated 7 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!...

-R
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 384 Reply Likes

Posted 7 years ago

  • 2

Be the first to post a reply!