3 ms·
Is there any reason why most of these 3d engines use one-letter variable names?
by rocky1138 9y ago
Is there any reason why most of these 3d engines use one-letter variable names?
- ramses0 9y agoBecause 'x' is easier to type than "getHorizontalScreenSpacePixelPositionRelativeToBottomLeftCorner()" ?
- jjjensen90 9y agoWhile true, you end up reading code with your variables more often than you write your variables so I tend to optimize for readability over ease of typing.
- dagss 9y agoIn a setting with much arithmetic "x" is also vastly easier to read. See pretty much any mathematics or physics paper or textbook -- made for reading...