Go Concepts - Limitations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
==Metaprogramming==
==Metaprogramming==


Go is not appropriate for [[Programming#Metaprogramming|metaprogramming]] or creating domain specific languages. Evaluating code at runtime is not easy.
Go is not appropriate for [[Programming_Languages_Concepts#Metaprogramming|metaprogramming]] or creating domain specific languages. Evaluating code at runtime is not easy.


==Reflection==
==Reflection==

Revision as of 01:04, 17 September 2021

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.