OT: general name for...

2010-09-22 Thread David Bovill
What is the the general name for handler for scripting languages - not
that anything is going to be perfect, but apparently handler refers to
Handler, an asynchronous
callbackhttp://en.wikipedia.org/wiki/Callback_%28computer_science%29subroutine
in computing, so what term could be used to refer to functions,
command, methods, and handlers across scripting languages - code chunks?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: general name for...

2010-09-22 Thread Andre Garzia
I tend to call everything handler... functions and commands I call handler
even if in LiveCode jargon a handler is not a function but just a command...
They are not methods or procedures...

On Wed, Sep 22, 2010 at 1:27 PM, David Bovill da...@vaudevillecourt.tvwrote:

 What is the the general name for handler for scripting languages - not
 that anything is going to be perfect, but apparently handler refers to
 Handler, an asynchronous
 callbackhttp://en.wikipedia.org/wiki/Callback_%28computer_science%29
 subroutine
 in computing, so what term could be used to refer to functions,
 command, methods, and handlers across scripting languages - code chunks?
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: general name for...

2010-09-22 Thread David Bovill
Sounds good - then a function in Javascript would be a type of handler?

On 22 September 2010 17:31, Andre Garzia an...@andregarzia.com wrote:

 I tend to call everything handler... functions and commands I call handler
 even if in LiveCode jargon a handler is not a function but just a
 command...
 They are not methods or procedures...

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


Re: OT: general name for...

2010-09-22 Thread wayne durden
I don't think you would call a function in javascript a handler.  My feeling
is that there isn't a universally accepted term that would apply across all
the language types.  Code chunk or snippet is as generic as you would get
without getting strange looks.

Handler to me has connotations out of the xTalk languages because at the
time of Hypercard they didn't want to scare off potentially non programming
hypercarders.  At that time we were making the transition to event based
programming where events were trapped and handled.

Wayne

On Wed, Sep 22, 2010 at 12:52 PM, David Bovill da...@vaudevillecourt.tvwrote:

 Sounds good - then a function in Javascript would be a type of handler?

 On 22 September 2010 17:31, Andre Garzia an...@andregarzia.com wrote:

  I tend to call everything handler... functions and commands I call
 handler
  even if in LiveCode jargon a handler is not a function but just a
  command...
  They are not methods or procedures...
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: OT: general name for...

2010-09-22 Thread David Bovill
On 22 September 2010 18:01, wayne durden wdur...@gmail.com wrote:

 I don't think you would call a function in javascript a handler.  My
 feeling
 is that there isn't a universally accepted term that would apply across all
 the language types.  Code chunk or snippet is as generic as you would get
 without getting strange looks.


I think I'll go with handler as I want it to refer to something that is
given a name in the language by the programmer, not an arbitrary text file
worth of code - that's a different level of chunking. Anyway I'm only naming
the database fields for now :)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: general name for...

2010-09-22 Thread Malte Pfaff-Brill
Hi David,

AFAIK in procedural languages this would be a subroutine, in OOP languages a 
method

Now, in which category does liveCode fit? g

http://en.wikipedia.org/wiki/Method_%28computer_science%29

Cheers,

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


Re: OT: general name for...

2010-09-22 Thread Andre Garzia
LiveCode does not fit OOP paradigm, it is almost procedural and imperative
but it is not due to the message path.

I think we should call our subroutines: definitions, it is a generic
enough term and it has good semantics, it means something we applied a name
for. So a handler, a function and a commmand are just that definitions.

On Wed, Sep 22, 2010 at 2:14 PM, Malte Pfaff-Brill
revolut...@derbrill.dewrote:

 Hi David,

 AFAIK in procedural languages this would be a subroutine, in OOP languages
 a method

 Now, in which category does liveCode fit? g

 http://en.wikipedia.org/wiki/Method_%28computer_science%29

 Cheers,

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




-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution