Y
Hacker News
new
|
ask
|
show
|
jobs
by
longemen3000
1619 days ago
There is a very useful function in Julia, named Base.prompt (I don't remember if it's exported or not, but better be safe
height_str=Base.prompt("Height above sea level(m): ") height =Parse(Float64, height_str)
1 comments
sundarurfriend
1618 days ago
TIL! I wonder why it isn't exported. There's also apparently a `Base.getpass`, that doesn't echo the entered characters and returns a `SecretBuffer`.
link