Twitter Feed: Post

Twitter Feed

@gcouprie ("Geoffroy Couprie") wrote:

Early returns makes code nicer, but also: ignoring local errors and just bubbling them is screaming java exceptions. Imagine all the if err != nil you could avoid with one simple throw

with quote tweet:

@anicolaspp ("Nicolas A Perez") wrote:

Good code is the one that lacks of `else` statement.

I am looking at a @golang file of 1800+ lines of code, and it contains 3 `else`s. This is Google grade production quality code.

#coding #programming #Golang #Seattle #Google