octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #9056] documentation for Java methods and


From: Mike Miller
Subject: [Octave-patch-tracker] [patch #9056] documentation for Java methods and fieldnames
Date: Tue, 26 Jul 2016 17:47:14 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

Follow-up Comment #5, patch #9056 (project octave):

The doc string for fieldnames.m already mentioned struct arguments. The only
change you made was to change "When the input is a structure" to "If the input
is a structure".

So I think we are both content with fieldnames.m.

I think it's fine to try to unify doc strings to make them more alike, when
they actually are. But fieldnames and methods are not really alike, one is
primarily meant for struct arguments and one is primarily meant for objects
and classes.

The behavior of fieldnames taking a string that is the name of a Java class
is, as far as I can tell, an Octave special-case extension. The main purpose
of fieldnames is to operate on structs or objects that can be cast to a
struct.

I think the right documentation for methods() is to treat Octave objects and
Java objects as the same thing, there should be no need to distinguish between
an Octave object or a Java object (or a Python object).

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?9056>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]