I have a question about top-level val definitions:...
# getting-started
p
I have a question about top-level val definitions:
Copy code
private val API_KEY = Properties.getRequired("some.api.key")
I have this in a file but if the property is missing it does not blow up on start up. It only blows up when the value actually needs to be read. So are private top-level `val`s evaluated lazily?