The speed of light is an integer. Why should we care?

Integer overflow and integer sizes are really basic concepts in every programming language. Coming from C++, the mistake in your code seems way too obvious to me. But in Python it’s different, so that may be causing the confusion.

All the ideas about improving the docs here are good, but I just want to clarify one thing that was often repeated.

The criticism for Julia here is completely undeserved. Yes, it can be used as a scientific calculator, and not just any scientific calculator, but also a very good one. I have previously used Python and Lisp REPL extensively and neither comes even close.

You can try solving some problems from https://projecteuler.net/. Many of the beginner ones take just 1 or 2 lines in Julia.

Edit: This library may be a nice addition to Julia’s use as scientific calculator.

7 Likes