2 ms·
As someone who programs both in Lisp and in Go (and I have used a little bit of Smalltalk), I have to comment your statement. In a sense, Lisp is the most adva
by _ph_ 7y ago
As someone who programs both in Lisp and in Go (and I have used a little bit of Smalltalk), I have to comment your statement.
In a sense, Lisp is the most advanced language ever designed, and still, it is ignored by most of the programming community :). Equally, I think, Smalltalk does object orientation better than most languages which followed it.
Both languages are mostly dynamically typed, so comparisons to static typed languages need to take this into respect, they are different beasts. On the other side, I think Go has an interesting mix out of static and dynamic typed features, having interfaces for static contracts and interface{} as a fully dynamic type, which still offers full type safety at runtime.
Go structs have also some interesting properties, if you look at them beyond being containers. Any type can have methods, and structs can embed other structs and thus "inhert" their methods in a sense. This is not full blown object orientation, but gets you surprisingly far.