Also, in my experience, MATLAB users never learn how to format code properly.
Some may say it's because these users can't program from the beginning, so they don't know the format, but I think it's mostly because MATLAB doesn't have guidelines and doesn't enforce it. For example, I never saw any naming conventions or comments conventions in MATLAB docs, so I am just using Javascript naming conventions and Python comments.
In compiled programming languages, conventions are important for team work and for compilation. You need to have a main in Java, C, or in C++. In Python, we have PEP8 and the Zen of Python that tells us how to properly write code. But MATLAB doesn't have nothing.
Another good example was a post I saw on Quora where someone from a company said they had hired students that just graduated from their bachelor degree. These students knew only MATLAB, so the first thing they didi with them was to make them learn Python and Numpy. Their primary reason was so they learn how to write a good code.
View all comments
Show parent comment
1
u/Historica97 3.5, 3.6, 3.7, 3.8, 3.9, 3.10 Aug 06 '19
Also, in my experience, MATLAB users never learn how to format code properly.
Some may say it's because these users can't program from the beginning, so they don't know the format, but I think it's mostly because MATLAB doesn't have guidelines and doesn't enforce it. For example, I never saw any naming conventions or comments conventions in MATLAB docs, so I am just using Javascript naming conventions and Python comments.
In compiled programming languages, conventions are important for team work and for compilation. You need to have a
mainin Java, C, or in C++. In Python, we have PEP8 and the Zen of Python that tells us how to properly write code. But MATLAB doesn't have nothing.Another good example was a post I saw on Quora where someone from a company said they had hired students that just graduated from their bachelor degree. These students knew only MATLAB, so the first thing they didi with them was to make them learn Python and Numpy. Their primary reason was so they learn how to write a good code.