I prefer the clarity of the current syntax. What is the obsession with LOC.
>I would further suggest f ?= os.os.Open("filename.ext") : >log.fatal("Cant >open filename.ext") >But the GO 'custodians' get apoplexy whenever they see any syntax that >resembles the C ternary operator. >Chill-out 'custodians' !! I never realised, Thank you custodians! I have always hated ternary one liners. Much as I dislike needless methods and structs and especially putting too much into a go one liner with embedded functions that need extra consideration/concentration before moving on. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/0406AD8C-3A84-4C19-ADA2-5E646B23F1A2%40gmail.com.