3 ms·
Scientists and engineers write code with single variables all the time and don’t seem to have any large amount of trouble with it. Long variable names seriousl
by colechristensen 5y ago
Scientists and engineers write code with single variables all the time and don’t seem to have any large amount of trouble with it. Long variable names seriously limit the ability to put complexity in one place and make it understandable.
Take a look at this and tell me it would be easier to understand if all the symbols were words instead of single characters: https://www.grc.nasa.gov/www/k-12/airplane/nseqs.html https://www.grc.nasa.gov/www/k-12/airplane/nseqs.html
- randomNumber7 5y agoThis is pretty understandable because: 1. They explain all abbreviations at the top. 2. There is a lenghty text explaining the formula. 3. It's mathematically pretty easy if you know partial differentation. Also scientists and engineers write pretty horrible code....
- colechristensen 5y agoIt’s not horrible, it’s different, has different goals and different audiences. Context is king, and the bulk of professional programmers criticizing scientist code is just lack of context and a different set of priorities. From a more science based background i often think programmers write horrible code as i search in vain for where anything actually happens in a sea of abstractions.
- deleted 5y ago[deleted]