Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Usually you give each constant a name and then operate on them symbolically.

If it's a simple enough operation you can skip that and just add a comment.

In this example, there are 9 arithmetic operations and there are clearly more readable ways of doing this. This is the point I am trying to make.

For the author of this article, using roman numerals and using arabic numerals are the same because they represent the same quantities. However, in practice, if you have 2 accountants and tell one of them to use roman numerals, the one using roman numerals will be less productive, make more mistakes and will likely be frustrated.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: