[go-nuts] Re: Ternary operator needed in Go

2017-10-16 Thread john howitt
No! no! please no! -- runs screaming from the room On Wednesday, December 23, 2009 at 5:09:24 PM UTC, abiosoft wrote: > > I think there is need for ternary operator for neater codes. > > if a > b { >c = a > else { > c = b > } > > can easily be written as > > c = a > b ? a : b > > I think the

[go-nuts] Re: Choosing a framework

2017-09-15 Thread john howitt
One of my reasons for moving to Go was to escape from frameworks which in my opinion are a fashion statement not a technology. Slightly mangling the saying about Regular expressions "I have a problem learning Go", "OK use a framework", "Now i have two problems", "You can also use and ORM", "Ah n