On Saturday, 12 January 2019 13:04:32 UTC+2, alanfo wrote:
>
> Sorry for the delay in responding.
>
> [ ... ]
>
> Such cases crop up a lot in practice and I don't think I'm the only one 
> who finds it tedious having to write six lines of code when a single line 
> suffices in most other C-family languages.
>
> Only because someone has long ago invented a notation for that, that sadly 
lent itself to abuse.
 

> Also, knowing that both expressions will be evaluated will deter people 
> from passing complex expressions (including other nested IIf's, function 
> calls with side effects etc.) to the function [ ... ]
>

Unfortunately, some rope tends to be too inviting, with too many children 
around. The adults just have to bite the bullet.

Lucio.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to