Tuesday, April 16, 2013

[Watched] Go at Google

http://www.infoq.com/presentations/Go-Google

Interesting points in Go that I learned from this presentation

  • You can not have unused import statement. Makes code cleaner and faster compilation time.
  • Favor small duplication over including big dependency to use only small part of it
  • No implements declaration required for implementing an interface. Safety from static typing and flexibility from ad-hoc type.
  • Gofix - Cool tool for changing the code to fix language version incompatibility issue.

No comments:

Clojure has lesser typing error problems than the others well-known dynamic typing languages

Give these snippets a try. // JS function foo () {   bar(1) } # Ruby def foo   bar(1) end ; Clojure (defn foo []    (bar 1)) As yo...