>> The version without generics is necessary to compare how well a 
particular generics approach improves the current language and code.

I am sorry but this is obviously that any useful feature (in the context of 
solving problems) improves the current language and code.
Another question: how new (version of the) language will look cosmetically 
with this newly added feature.

I found that the second question here more important then the first.

It is obviously correct that the code with a generics (in appropriate 
place) would be more useful then other code.
But here I undestand one interesting thing which states: Some obviously 
useful feature can significantly spoil the overall picture of language.

For me this is very strange only because even a C language also has been 
improved after when it initially was introduced.

In the years following the publication of K&R C, several features were 
added to the language, supported by compilers from AT&T and some other 
vendors. These included:

   - void <https://en.wikipedia.org/wiki/Void_type> functions (i.e., 
   functions with no return value)
   - functions returning struct 
   <https://en.wikipedia.org/wiki/Struct_(C_programming_language)> or union 
   <https://en.wikipedia.org/wiki/Union_(computer_science)> types (rather 
   than pointers)
   - assignment 
   <https://en.wikipedia.org/wiki/Assignment_(computer_science)> for struct 
data 
   types
   - enumerated types <https://en.wikipedia.org/wiki/Enumerated_type>


C99 introduced several new features, including inline functions 
<https://en.wikipedia.org/wiki/Inline_function>, several new data types 
<https://en.wikipedia.org/wiki/Data_type> (including long long int and a 
complex type to represent complex numbers 
<https://en.wikipedia.org/wiki/Complex_number>), variable-length arrays 
<https://en.wikipedia.org/wiki/Variable-length_array> and flexible array 
members <https://en.wikipedia.org/wiki/Flexible_array_member>, improved 
support for IEEE 754 <https://en.wikipedia.org/wiki/IEEE_754> floating 
point, support for variadic macros 
<https://en.wikipedia.org/wiki/Variadic_macro> (macros of variable arity 
<https://en.wikipedia.org/wiki/Arity>), and support for one-line comments 
beginning with //

The C11 standard adds numerous new features to C and the library, including 
type generic macros, anonymous structures, improved Unicode support, atomic 
operations, multi-threading, and bounds-checked functions. 

P.S.

I guess I should think that this is very bad, because my first acquaintance 
with the language began with the ZX-Spetrum and continued with the Borland 
Turbo C.

Indeed, the C language is now looks much worse cosmetically than before. 
But should I regret it?
Maybe...

-- 
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