Your examples don't depend on the language but on the libraries. You can be as simple and concise in most languages, provided the libraries let you, instead of needing to add boiler plate.
But what if your web request fails? Do you deal with it in time or use some_value_I_want which might contain junk?
But what if your web request fails? Do you deal with it in time or use some_value_I_want which might contain junk?