OK, this one scares me most [mentioned in my blog too] 5th: "Everything is in the same namespace"
Please teach yourself & others about scope! Scope is a core concept, of programming!
Matlab robs people of so many important coding experiences and skills. 
-
Show this thread
-
Read this for understanding more about scope — it's so important: https://en.wikiversity.org/wiki/Introduction_to_Programming/Scope … 6th: "Parameter names are treated as strings" this is just wrong and creepy. Variables are not strings. WTF. Just no.
1 reply 0 retweets 0 likesShow this thread -
7th: "No 1-D arrays" Ayyy. "MATLAB does not have support for one-dimensional arrays (or lists, cell arrays, etc)." "some functions [...] return 1xN arrays [and] 0x1 arrays when the list is empty." 8th: "Cell Array Iteration is awkward" Clunky. Needlessly so! CLUNK CENTRAL.
1 reply 0 retweets 0 likesShow this thread -
9th "Semicolon Changes Semantics" "sometimes whether an expression is printed determines how the expression behaves" 10th "Functions are too clever" "if delete finds [an * in] the given filename, it [expands the * &] deletes all matching files" I'm emotionally drained! Why...
1 reply 0 retweets 0 likesShow this thread -
11th "No way to store static data" "You can create a .m file that defines a variable, but you cannot get access to this variable from another file without terrible contortions (aka loading the file as a string and passing it to eval())." Yikes.
1 reply 0 retweets 0 likesShow this thread -
Finally onto something that REALLY explains a lot. Some very defensive BS I had to put up with from somebody a few months ago when I told them they should be using try-statements because they are good practice.
1 reply 0 retweets 0 likesShow this thread -
Altho I'd no idea they were coding in Matlab until they claimed Matlab has no try. To which I replied with disbelief and then immediately looked it up. Anyway long story short it does, but it's NASTY. So this explains a little of why they were reluctant to use it, I guess.
1 reply 0 retweets 0 likesShow this thread -
Number 11: "Programmatic error handling is near impossible"


How will students, anybody, learn to code well if they cannot learn to catch errors?!
"programmatic handling errors in MATLAB in a reliable way is near impossible."


1 reply 0 retweets 0 likesShow this thread -
OK, now we're done, if you want to read more — and I suggest you do! — check out the blog post I based this on: http://www.rath.org/matlab-is-a-terrible-programming-language.html … And mine too for a more pedagogical perspective:http://neuroplausible.com/matlab
1 reply 0 retweets 0 likesShow this thread -
I do not want to shame anybody but please, think again before handing down any bad habits & please bear in mind Matlab is not
#openscience not#opensource!1 reply 0 retweets 0 likesShow this thread
To end, I just wanna say, one of the most heartening things is seeing people like @inferencelab blog their journey into #opensource and just generally better coding: http://www.inferencelab.com/confessions-of-a-reforming-matlab-er/ …
So yeah, mad props to all of you pushing yourselves and (y)our field(s) forwards! 
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.