4 ms·
Yes. That has touched on something deeply important. I wish i knew what :-) My 2c is "software literacy". We live in a literate world so we all more or less
by lifeisstillgood 5y ago
Yes.
That has touched on something deeply important. I wish i knew what :-)
My 2c is "software literacy". We live in a literate world so we all more or less can read the sentence "food purchase over $100 by a user in Wyoming needs a 5% tax added." and understand it.
But 98% of people could not scan the same in C, C++, Python etc.
And 98% of those of us that could wont understand the context the code sits in (whats the variable name 'WY_TAX_PCAGE'?)
- mdtusz 5y agoI think your comment emphasises the importance of good function and variable naming. I've read some incredibly clear and obvious C code and some incredibly hard to understand Python code that both do the same thing - it basically all comes down to the naming choices used. `TAX_RATE_WY` would be far easier to understand and maintain (especially when seeing other state abbreviation suffixes nearby) and has the added benefit of using the same `TAX_RATE_` prefix for _all_ similar values so is much easier to pick up on when scanning through the code. The science of reading and literacy would likely be a very valuable course to teach in CS programs.
- kimsia 5y agoHow many times can I upvote this about software literacy?