4 ms·
If you're going to go through the effort to split things out into separate lines and name them, why the single letter names?
by p1necone 5y ago
If you're going to go through the effort to split things out into separate lines and name them, why the single letter names?
- ehsankia 5y agoSome things are just very common in math notation, enough that people recognize it better than fully named variables. Things like uppercase letter for a matrix, _T for a transpose, etc.
- kzrdude 5y agoFor someone with maths training (be it years in undergraduate engineering or whatever), one does get quite used to one letter names. Note that they always should have limited scope.
- DNF2 5y agoIn mathematically oriented code, long variable names make code less readable, not more. Mathematical expressions become long and difficult to parse, and the variables often have no intrinsic meaning, so trying to make up 'meaningful names' is pointless.