top | item 14594256

(no title)

charlesetc | 8 years ago

Code generation is one way to get around generics. Go also stores all the type data at runtime so you can inspect the arguments passed to any function, which gives the same kind of generic behavior in any dynamically typed language.

So you definitely could implement an ORM in go without code generation - it's almost certainly been done.

discuss

order

No comments yet.