Ugh. 
Yeah, it's basically because you need to use a try-catch.
https://en.wikipedia.org/wiki/Exception_handling …
-
-
I think it's fairer to say that Matlab is weakly typed. I believe it will try to figure out the type you need the first time a variable is assigned, and then stick with that. It can produce strange behaviors in certain cases, but it's not an issue for me knowing how it works.
-
Ah, I didn't know it was weakly typed. Fair.
-
Hence why I asked BTW!
-
Yep, it's confusing for me too. It's kind of a mixed bag in terms of tutorials. some say matlab is dynamic, some say it is weak. I think the distinction of what typing means gets a bit strained when discussing languages that aren't compiled in the classic sense.
-
I'm just blessed not to be trapped by them. But I think if I was I would be a different person. I do tend to think of my CompSci degree to be my most formative and central to my personality being solidified.
-
When you say "trapped by them", what do you mean?
-
Trapped by Matlab/Mathworks, I assume? I wouldn't mind moving to other languages (now in the home of R, so feel like I should try that again). But that's not overly realistic for maintaining productivity :P
-
And as we discussed the other day somewhere around here, it remains iffy that there are the necessary libraries for doing the things we do that this would be a smooth transition. Maybe I should hire a programmer for that one day... :)
- 1 more reply
New conversation -
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.