Going into Business? Learn a Programming Language(charleshooper.net)
charleshooper.net
Going into Business? Learn a Programming Language
http://www.charleshooper.net/blog/going-into-business-learn-a-programming-language/
4 comments
"If all you have is a hammer, everything looks like a nail." Anon.
Or just use a spreadsheet maybe??
"There are also times when it’s a good idea to make a spreadsheet, but even this can be overkill."
I think the point was not on the specific class but thinking of business from a macro perspective. The author was better able to grasp things and use his programming background to his advantage.
I think the point was not on the specific class but thinking of business from a macro perspective. The author was better able to grasp things and use his programming background to his advantage.
Hi cshenoy, that was exactly my point. Thank you
No kidding. This was an awfully bad example. I use a REPL for this kind of math too, but it's because I'm too lazy to learn how to use Excel properly.
A spreadsheet would have prevented the author from using floating point to represent money.
For the purposes of my example assignment, I am required to provide all answers rounded to the nearest dollar (hence the call to round().) For a one-off (or ten-off) series of calculations the use of floating point is a non-issue.
What is the issue with using floating point to represent money?
get out.
FYI, Ledger is CLI and designed for accounting and keeping books:
https://github.com/jwiegley/ledger/wiki
There's a python implementation as well, if that's more up your hacking alley: https://furius.ca/beancount/
https://github.com/jwiegley/ledger/wiki
There's a python implementation as well, if that's more up your hacking alley: https://furius.ca/beancount/
[deleted]