r/Python • • Aug 05 '19

Python's response to MATLAB

Post image
4.3k Upvotes

372 comments sorted by

View all comments

7

u/okkshin Aug 05 '19

People on here seem to have completely forgotten about the roots and the diversity of programming in general. The response to the top comment even claims people who like Matlab aren't in general programmers!

Matlab was not designed for general programming, but numerical computation, the original purpose of programming and its dominant form until late 20th century.

Programmers are a diverse group, and engineers, physicists, mathematicians and computer scientists alike use Matlab for prototyping, visualization, implementation and especially interaction with specialized hardware. Not all programming is a DefaultGeneralNullPointerExceptionFactory.

Matlab has an domain-intuitive design. OP shits on the fact that Mathworks mentions the extra brackets and numpy imports required to type when it in fact increases legibility of numerical code significantly (besides coming from a language which uses whitespace for indentation to increase its own legibility instead of brackets).

Yes, of course, one may question that it's proprietary and damn expensive, but to question whether it's users are programmers and claim superiority of python when only a fraction of its users work in the same domain, that's elitist, and hardly fitting the design goal of python and programming in general.

-2

u/Deezl-Vegas Aug 06 '19

The reason we don't think much about the diversity of programming is because we, as a community, actively said "fuck off" to COBOL, Basic, and a variety of other powerful, popular, but unwieldy languages -- that all do exactly the same thing, compile to executable machine code.

Diversity is not desirable in programming. The less diverse the programming community is, the easier it is to share code, complete open source projects, etc. Even if I grant that MatLab has some feature that makes life easier for mathematicians, engineers, etc., which I don't, I would still support moving to Python in bulk as those features can and will be developed for Python PLUS all the MatLab users can inherit Python's huge library of public code.

6

u/Gabe_Isko Aug 06 '19

No, I dont agree with this. There is a value to a diversity of programming languages for different uses and applications, however they have to all exist on the merit of being actually useful. The languages you mentioned died out because it ends up that they are completely useless outside of the technological constraints that emtheybwere created under. This is why well designed languages like C and Fortran are still around.