Talk:Add a variable to a class instance at runtime: Difference between revisions

m
(revise the task to reflect the solutions?)
m (→‎That articles task: Sectioned.)
Line 18:
 
Hmm, it seems that there's a lot of disagreement of what is actually meant. Meh. (I can patch my objects and classes any way I want; I'll let others worry about theirs.)
 
== That articles task ==
 
On the other hand, the task actually described in the article that the task points at is rather interesting in itself, as it involves (in effect) runtime class synthesis based on the header row from a CSV file, followed by filling in the fields for a list of instances of that synthetic class from the remaining rows. Oh, and the synthesized class name is derived from the argument filename too. Probably outside what a standard compiled language/class system can do (and would require interesting bytecode generation for some [[Java]] or [[C sharp|C#]]). Would probably be better done as another task though. –[[User:Dkf|Donal Fellows]] 11:06, 5 January 2010 (UTC)
Anonymous user