User:Josiah425:Implementing Function Handles

From Octave
Revision as of 23:23, 31 August 2017 by Josiah425 (talk | contribs) (→‎Requirements)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Requirements[edit]

  • Lazy vs eagerness
  1. lazy if function does not exist in scope, function remains lazy afterwards
  2. eager when function does exist in scope
  • Recognize class method vs function call

e.g. s= @sin; s(cls_with_sin_method) should call the appropriate method and not sin ()