News for hackers. Stuff that matters.
Re:The State of Go by prodigal_erik on Sunday February 05, 2017 @07:33PM (#13575636)
"How do I iterate over a slice?"

"for...range."

"How do I iterate over my own type?"

"The hard way."

"What interface can I implement to make for...range work?"

"You can't. Our types are important enough to support properly, yours aren't."

As a programmer I expect more than that, and I don't respect people who meekly agree that creating types is properly left to their betters.

There are no comments on this comment yet.