4 ms·
Yes, the fundamental problem of the Matlab language is the namespace problem. The hilarious thing is that basically every feature added to the Matlab language
by jordigh 13y ago
Yes, the fundamental problem of the Matlab language is the namespace problem.
The hilarious thing is that basically every feature added to the Matlab language since the beginning has been an attempt to control the namespace problem, and they still can't solve it. Besides subfunctions, nested functions, and anonymous functions (and does anyone using them actually understand all of their scoping rules), you have old style classes, new style classdef, packages, and sometimes case-sensitive and sometimes case-insensitive identifiers.
It's a mess. And I don't think it will ever get fixed.
- Derbasti 13y agoI usually find nested functions and closures to be more pleasant to use than Matlab's class system. A sad state of affairs, really.