[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48041] classdef: `help myclass` messes up `he
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #48041] classdef: `help myclass` messes up `help @myclass/method` |
Date: |
Fri, 9 Feb 2024 11:47:52 -0500 (EST) |
Follow-up Comment #9, bug#48041 (group octave):
> But Rik, I disagree with this statement:
>> Mixing old and new class syntax seems like a very bad idea if that is
indeed the case.
> I believe its common practice (Chebfun does this, so does Pythonic) to build
classdef classes that live in a `@foo`
> directory structures:
> - some methods defined in `@foo/foo.m`
> - other methods defined in other `@foo/bar.m` files.
> But maybe this is not what you mean by "mixing old and new"...
Matlab's first attempt at object oriented programming was a bit of a disaster,
and while not formally deprecated, is definitely not recommended for new code.
Mixing that old system, which doesn't get a lot of support or maintenance in
Octave, with classdef might cause problems. If it doesn't, then great. But
if it does, there isn't going to be anyone around to fix the problems.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?48041>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Message not available
Message not available
Message not available
Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #48041] classdef: `help myclass` messes up `help @myclass/method`,
Rik <=
Message not available