Go OOPL
Posted: Thu Jun 17, 2010 11:17 pm
Err yeah, i found on youtube this video about a new programming language, a sub team of googles been working on.
Its called "Go", they want it for system programming, they said they wanted it to be more flexible and fun to use. Its really fast at compiling code.. I guess its cool that googles making a programming language :/
website: http://golang.org/doc/go_spec.html
video: http://www.youtube.com/watch?v=rKnDgT73v8s (old video, 1 hour long :()
I kept watching the video, when i saw the syntax, i was dissapointed, it was epic fail to me. Everything looks messy and logically backwards. I dont want to try it, thats just me though.
Most logic is like C/Java
This is how you declare/define arrays
Most variables, the data type is in front :[
I havnt reviewed it much yet, but everything i see, puts me off.
I dont know if you can make instances of arrays yet, for inheritance.
I couldnt find anything about passing variables to functions, i know in c++ this can get messy with arrays.
What do you people think?
Its called "Go", they want it for system programming, they said they wanted it to be more flexible and fun to use. Its really fast at compiling code.. I guess its cool that googles making a programming language :/
website: http://golang.org/doc/go_spec.html
video: http://www.youtube.com/watch?v=rKnDgT73v8s (old video, 1 hour long :()
I kept watching the video, when i saw the syntax, i was dissapointed, it was epic fail to me. Everything looks messy and logically backwards. I dont want to try it, thats just me though.
Most logic is like C/Java
Code: Select all
if x > 0
{
return true;
}
Code: Select all
[32]byte
[2*N] struct { x, y int32 }
[1000]*float64
[3][5]int
[2][2][2]float64 // same as [2]([2]([2]float64))
I havnt reviewed it much yet, but everything i see, puts me off.
I dont know if you can make instances of arrays yet, for inheritance.
I couldnt find anything about passing variables to functions, i know in c++ this can get messy with arrays.
What do you people think?