30 ms·
try python. it is much more powerful in almost every sense. And it is not easy to write crappy code in python.
by ankitml 13y ago
try python. it is much more powerful in almost every sense. And it is not easy to write crappy code in python.
- Gravityloss 13y agoLast I looked, vector and matrix handling was extremely clunky and tacked on in Python.
- Genmutant 13y agoYou would probably use NumPy, which even has a page for people used to Matlab: http://wiki.scipy.org/NumPy_for_Matlab_Users http://wiki.scipy.org/NumPy_for_Matlab_Users
- pwang 13y agoCan you be more specific?
- hillbillyjack 13y agoI'm not the parent commenter but I've used matlab extensively and found Numpy clunky in comparison. All I ever did in matlab involved matrices (usually differential equations with matrix coefficients and other things of that nature) and matrices are super easy to use in MATLAB: A = [1 2 3 4 5 6]; or A = [1 2 3; 4 5 6]; I can input A just like that and it works, try out the python syntax: A = array([[1,2,3],[4,5,6]]) And it just goes on from there. Even if you're doing complicated operations because matrices are the essential building blocks of MATLAB it is easy to use, not so much in python. I tried building my FEA (finite element analysis) project in python after i finished programming it in matlab it and found it to frustrating to continue.
- lake99 13y agoMatlab has a terse syntax for 2D matrices. Try creating 3D, 4D and 5D matrices, and the syntax is suddenly completely different.
- singingfish 13y agoI've seen abominable code written in python from academics.
- ankitml 13y agoya ya, its possible but hard :D
- ekimekim 13y agoIt's very easy to write crappy code in python. And that's why I love it - it doesn't try to protect the programmer from themselves, instead it lets you do what you want (for better or worse). Compared to languages like java...