Re: Readability question.

"'Scott Morgan' via lua-l" <[email protected]> Fri, 5 Jun 2026 13:05:02 +0100
Newsgroups gmane.comp.lang.lua.general
Message-ID <[email protected]>
On 05/06/2026 07:37, Francisco Olarte wrote:
> I've found myself writting the expresion
> 
> (a and b and combine(a,b)) or a or b

I think the combine call is a bit of blocker. Not knowing exactly what 
it does, even if it's clear with a bit of though (and checking the code).

But...

(a and b and (a + b)) or a or b

Feels a bit too much as well. Just a step too far for quick 
comprehension. You can understand it, but it takes more time than ideal.

Scott

-- 
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/lua-l/e3041604-15a5-4df7-919b-2f9c5eff6c82%40blueyonder.co.uk.