[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Try-catch and try-finally
- From: Dirk Laurie <dirk.laurie@...>
- Date: Tue, 31 May 2016 21:58:43 +0200
2016-05-31 18:29 GMT+02:00 Soni L. <email@example.com>:
>> The only reason why you should ever need to catch exceptions is to print
>> error messages, or to protect your program from crashing when doing
>> something dangerous (e.g. calling a external library), especially in Lua,
>> where errors are generally strings not objects.
> You'll hate Python, then.
I am an ex-Pythonista who admired its compactness, orthogonality
and coherence, but was appalled by its profuseness and dependence
on whitespace. Lua to me combined Python's strengths while avoiding