Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



I usually find nested functions and closures to be more pleasant to use than Matlab's class system. A sad state of affairs, really.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: