r/programminghorror • • Sep 23 '21

R vs MATLAB

https://techbiason.com/r-vs-matlab/

[removed] — view removed post

0 Upvotes

2 comments sorted by

4

u/[deleted] Sep 24 '21

fuuuuuuuuuuuuuck matlab man. what a shitty, cobbled together steaming turd.

for example matlab does have objects! woohoo!

but

you can only have one constructor. constructors with a variable number of input arguments must be handled by passing an variable with a list of arguments, then counting the number of arguments and dealing with it with an if/else structure.

there is no simple void obj.method() to update an object. IIRC you have to do obj = obj.method(obj) to update an object. method must return the update obj.

1

u/s0ulbrother Sep 26 '21

Oh shit this was my first programming language outside of vba in high school. Vba was better