Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
longemen3000
on Jan 8, 2022
|
parent
|
context
|
favorite
| on:
Fortran is easy to learn
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)
sundarurfriend
on Jan 9, 2022
[–]
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`.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: