Talk:Write float arrays to a text file: Difference between revisions

response to TBH
(Explanation of shortcoming in existing J code.)
(response to TBH)
Line 4:
# In addition, a blue print of this subtask is an output of numbers with a given number of significant digits, and an output in a format suitable for external plotting program. It is interesting, how it could be accomplished in languages without ''printf''-like expressions.
# Concerning redundancy of this task, It is an eternal dichotomy between orthogonal (minimum overlap) and human (rich, superfluous) intefaces in programming, for example, compare interfaces of Python's list object with the Ruby's Array. The former has less then ten non-special methods, at the same time the latter has much more then that. In general, It's a matter of taste or religion which way to choose. Wiki may benefit from both approaches simultaneously. [[User:Geka Sua|Geka Sua]] 13:03, 24 December 2007 (MST)
 
# The J code posted on March 13 does not limit the precision of the formatted numbers as required by the specifications. (I also wish to note that I don't see how the example values provided for this task test the requirement for precision-limitation of the 'x' array. Do they?) --[[User:TBH|TBH]] 11:50, 13 March 2008 (MDT)
 
# Yes it does. That's the purpose of the <code>0 j.</code> bit. EG:
": 1.2345678
1.23457
0j2 ": 1.2345678
1.23
Anonymous user