12

This moment when you help your friend with data conversion code 😀.

By converting "super" mathlab script into real C# application so you don,t need to read the whole freking 1GB file into RAM and writing it into another 1GB matrix in order do save the result because mathlab is crap 😤.

Then that feeling when you want to create better mathlab from scrach in C# and you are actualy succeding 🤔.

Did i mention about grafical blocks for interface like in lego NXT2.0 😏

Is mathlab that crap or is programming that easy?

Comments
  • 1
  • 1
    @irene it’s nice for testing things out of the ground (proof-of-concept). Once you have that, just move on.

    Although, I do enjoy its dynamic typing (coming from statically typed languages) and convenient math libraries. Makes what I mentioned earlier extremely straight forward.
  • 0
    That great feeling creating system from scratch and thinking you succeed 😋 Take C++ plug-ins or smth in MATLAB, don’t invent a wheelchair
  • 0
    MATLAB is great, as long as you don't use it for writing software, but for what it is intended to do: MATLAB = MATrix LABoratory

    It is mainly good for matrix calculations.
    Most people I know, think it means MATh LABoratory, which is wrong.
  • 0
    @enoon Matlab doesn't really have dynamic typing. It literally only has one variable type.
  • 1
    @irene It has matrices. Every fucking variable is a matrix in Matlab.

    EDIT: Ok, you're right. Must have done something wrong, when I used it. In my defense, I switched to python as soon as possible, so my experience with Matlab lasted only 2-4 hours.
  • 0
  • 0
    @theCalcaholic dynamic typing referring to the fact that you don’t have to explicitly define variables before using them. variables are evaluated at runtime, so yes it is dynamically typed unlike say, Java or C++.
  • 0
    @enoon Nah that's not what I meant. When I was using Matlab, we used matrices of floats for everything. They weren't implicitly cast or anything.
  • 0
    @theCalcaholic then you were wrong that I was wrong. teehee

    by the way, just like other dynamically typed languages, you can specify what kind of data type you want to use so it doesn’t assume one by default (so you can specify float/long etc).
  • 0
    @enoon You're still talking about something different than I was.

    I was literally talking about Matlab using only one type for everything, not dynamically casting variables. Turned out, that was not the case, but it was still how the code worked I was given back then. It did not make use of dynamical typing, it made sure that matrices of floats were had for everything which led to my wrong assumption. If course that didn't deny the fact that Matlab IS dynamically typed, but that's not relevant to what I was talking about.

    I know very well how dynamically typed languages work compared to statically typed languages, thanks.
  • 1
    @theCalcaholic and you’re missing my point. you first replied to my comment stating that MATLAB isn’t dynamically typed, implying that my statement was false.

    Irene responded otherwise to which you agreed, after some exchange. And you just stated that MATLAB is in fact dynamically typed; now you understand that. Now it is in fact clear that what you said, in response to my comment, was not in any way relevant to my comment and not the other way around (as you just said).

    In an online forum, such as dR, where people grab onto tidbits of knowledge here and there, if you made an otherwise wrong statement, feel free to admit it and move on. A simple edit to your original comment would have sufficed or in the inability to do so, a new comment stating that what I said wasn’t wrong would have reached the same end.
  • 0
    @enoon Oh right, sorry. I entirely forgot about your first comment. It all makes more sense now. 🙈

    I didn't even remember anymore that I posted it in response to anyone. That was the little bit of context I was missing.

    Sorry again.
  • 1
    @theCalcaholic no worries. 🤗
Add Comment