Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
FTcuber10657yPros of helping a friend with his programming homework :
You get to learn a new language!
Cons :
It's matlab... -
MATLAB is fine for its use. I firmly believe it would get more adoption in scientific fields if it allowed to ship standalone executables instead of forcing the license and the IDE itself. It has many advantages for data science, physics chemistry and such thanks to all the integrated tools for graphical representations.
Imho while being a student it serves the purpose just fine. In the job world everyone prefers things like C++ for memory management (problems can be huge ) and ability to ship a program that does not require external paid stuff to run. -
FTcuber10657y@nixclusive0 How could I explain that quickly... Well, what about the fact that matlab doesn't adhere to any kind of logical/standardized conventions? It uses ~= instead of !=, indexes are confusing and start at 1, it doesn't support ++, etc. Worst of all, it's a proprietary software and licences are ridiculously expensive.
-
@FTcuber point that everyone seems to be missing: no one develops in MATLAB. You use MATLAB because you need to do something. It's a big ass calculator for science people so it makes sense in its own way.
No one ships a MATLAB script to a user base that is simply not its use case -
@FTcuber it's like Lua then 🤔 @Snatchedd is right in calling it a powerful calculator
-
Pointer32377y@FTcuber I understand why the notation, I mean, anyone with a little of insight can realize that the syntax is there to be close to math syntax.
But, anyways, I don't like it and I don't need it by now, but I know how to use it and it does harm to know -
FTcuber10657y@Snatchedd @Pointer I do quite like the points being made here. Judging it as a programming language doesn't really do it justice since it is, as you guys pointed it out, way closer to a great calculator than a programming language. That being said, I still dislike it's messy syntax and, being more of a dev than a scientist, would much rather use Python with its bezillion math libraries.
-
The worst thing about matlab is its most basic concept: everything is a matrix.
You can't develop good data models, because you're always limited to those damn matrices.
It feels horrible to do that if you have a slight understanding of data structures and algorithms and it teaches bad practices.
Also, conventions in Matlab are very unintuitive of you're coming from any programming experience - which is fine, if you're only doing matlab (you're probably not a dev in that case, but a mathematician of data scientist) but extremely annoying otherwise. -
@DefiniteGoose Arrays in Matlab funny even start - that have no Arrays (only 1xn matrices).
Me to my friend into coding : Hey! I’m finally learning to code at university!
Friend : Nice! Never Forget array start at 0. Which language are you learning?
Me: Matlab
Friend : I don’t know you
joke/meme