Hacker News new | ask | show | jobs
by xg15 4260 days ago
> If you decide that only having Array<T> and Map<T> is a deal breaker, and the complexity of creating a tool to autogenerate the go code for a large number of SinglyLinkedList<T>/DoublyLinkedList<T>/CircularLinkedList<T>/etc... outweighs the uses of Go, then don't use Go.

With all due respect, but how is having to build a custom code-generator first, before you can write your actual program not accidental complexity?

1 comments

I wasn't claiming it isn't accidental complexity. Just pointing out the author essentially says to weigh the decision appropriately.

Looking at the sibling comment about "go generate" by buro9, it looks like a custom code-generator won't be needed either.

EDIT: Added buro9, and emphasis