I am scripting a common beginner pitfalls video for Julia.

One of them is `2^64`

gives `0`

. I think SafeREPL.jl can help with that. Would that good advice? I mean the other thing is that they should be aware of what they are doing and that they need to check for stuff like that themselves.

I think you should just use the standard REPL and show `2^64`

and `10^19`

as examples early on.

1 Like

Basically you need to explain to the newbies that

- julia’s basic data structure can only represent a small subset of all mathematical numbers
- for integers the basic Int64 has limitations
- for reals the basic Float64 also has limitations
- unlike Python, Julia does not hand hold the beginner coders

3 Likes