4 ms·
I also dislike R. Strongly disagree with the argument that MATLAB is more clear than python, however. Have you tried numpy/scipy? Provides excellent performance
by arcanus 11y ago
I also dislike R. Strongly disagree with the argument that MATLAB is more clear than python, however. Have you tried numpy/scipy? Provides excellent performance and very powerful APIs.
I've always found that a great deal of the MATLAB syntax does not gel with my expectations. "./" vs. "./" for instance, or using parenthesis to address array elements.
I would much prefer a truely OO capable language, as well.
- marcell 11y ago> "./" vs. "./" Is this a typo? It seems like two instances of the same thing
- arcanus 11y agoOoops -- './' vs. '/.', e.g. right array vs. left array
- TTPrograms 11y agoIt doesn't seem like '/.' is an operator. Do you mean './' vs '.\'? That tends to match my intuition.
- wallacoloo 11y agoThe real killer about Matlab is its one-based indexing. Makes arithmetic index operations look ugly (and unintuitive) as hell.
- TTPrograms 11y agoIt's one-based indexing combined with length being defined as the number of entries, IIRC. There was a blog post on here a few months ago that explained how you need one or the other to minimize the need for off-by-one corrections, though I can't find it now. I'd consider switching to numpy (ignoring organizational issues) if it didn't take 10 times as many characters to describe all the operations. If you're spending you're day doing algorithm development having least squares and every linear algebra operation you can think of as first class citizens is a huge plus for readability and code cleanliness.