Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Go language

Name: Anonymous 2012-03-27 16:57

What do you think?

I didn't look to deep so I don't know much about it yet but I find it interesting. Mainly: no exceptions, no OOP, lambdas, integer variants. Also I read some opinions, here they are:

http://www-cs-students.stanford.edu/~blynn//c/ch13.html
http://www.math.bas.bg/bantchev/misc/on-go.html

OP can't learn it and make his opinion

I'm a fag.

Name: Anonymous 2012-03-27 21:24

The "exception handling" does indeed look like shit. I'd rather use C++. I mean, I'm a C programmer and for me, this:
func ff() {
  defer func() {
    if x := recover(); x != nil {
      println("recovering from panic ", x)
    }
  }
  f()
  g()
}

func f() {
  init()
  defer cleanup()
  if error() {
    panic(42)
  }
  proceed()
}

is outright unreadable. Following the program flow seems impossible in this example, and we're not even talking "real code".

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List