Re:Will Go be the new go-to programming language?
by eckyptang on Thursday September 13, 2012 @04:12PM
(#4518319)
An infinite data source? That sounds like a thunk (which is easy to implement), or perhaps it really is a channel?
[ Parent
| on HN ]
Re:Will Go be the new go-to programming language?
by TylerE on Thursday September 13, 2012 @06:35PM
(#4519009)
The beauty is - it doesn't _matter_.
It could be a linked list that links back to it's own head. It could be a network stream, or a series of events from an input device. The program doesn't have to care.
Re:Will Go be the new go-to programming language?
by eckyptang on Friday September 14, 2012 @05:22AM
(#4520867)
You should read up on channels and generators then. The source doesn't matter, just the type contract.
It's a different way of approaching things. I'd say that golang was stream-based rather than functional or imperative.