Go Concepts - Limitations

From NovaOrdis Knowledge Base
Revision as of 01:04, 17 September 2021 by Ovidiu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Limitations

Metaprogramming

Go is not appropriate for metaprogramming or creating domain specific languages. Evaluating code at runtime is not easy.

Reflection

Go supports limited reflection.

Need to Compile on Different Platform

Unlike Java, we need to compile binary executable on target platforms.

Readability

See Go Interfaces#duck_typing_does_not_help_readability.