On Wed, 12 Sep 2018 06:33:59 -0700
Ian Lance Taylor <i...@golang.org> wrote:

Addenum:

>  You need to have a way to say "compile this code under certain
> conditions based on the type argument, otherwise compile this code."
> That is, the compiler is directed, at compile time, as to which code
> should be compiled.  That is metaprogramming.

This is not metaprogramming!

Every and each statement is written by the human author in plain Go
and no code is produced by the program itself.

https://en.wikipedia.org/wiki/Metaprogramming
>>> Metaprogramming is a programming technique in which computer programs have
>>> the ability to treat programs as their data. It means that a program can
>>> be designed to read, generate, analyse or transform other programs, and
>>> even modify itself while running.

> Ian
> 

TC,

-- 
Wojciech S. Czarnecki
 << ^oo^ >> OHIR-RIPE

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to