Discussion:
Nesting IFs in-line
(too old to reply)
Tom Del Rosso
2024-05-07 22:41:20 UTC
Permalink
Is there any potential problem in using

if A if B (
stuff
)

instead of

if A (
if B (
stuff
)
)

?
--
Defund the Thought Police
JJ
2024-05-08 00:23:50 UTC
Permalink
Post by Tom Del Rosso
Is there any potential problem in using
if A if B (
stuff
)
instead of
if A (
if B (
stuff
)
)
?
No problem if A condition doesn't need any else case.

Loading...