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

From Rosetta Code
Content added Content deleted
(Yes.)
m (orthogonal vs. human interfaces)
Line 1: Line 1:
Is this already covered in [[File I/O]]? It doesn't seem to add anything extra. --[[User:Mwn3d|Mwn3d]] 23:10, 23 December 2007 (MST)
Is this already covered in [[File I/O]]? It doesn't seem to add anything extra. --[[User:Mwn3d|Mwn3d]] 23:10, 23 December 2007 (MST)
: Agreed. Unless serialization deserves its own category, this task is somewhat superfluous. Even if serialization did get its own category, there are better ways to tackle the subject thoroughly. (And, admittedly, I wouldn't mind seeing the subject tackled, with cross-platform file compatibility being just one interesting aspect.) --[[User:Short Circuit|Short Circuit]] 01:29, 24 December 2007 (MST)
: Agreed. Unless serialization deserves its own category, this task is somewhat superfluous. Even if serialization did get its own category, there are better ways to tackle the subject thoroughly. (And, admittedly, I wouldn't mind seeing the subject tackled, with cross-platform file compatibility being just one interesting aspect.) --[[User:Short Circuit|Short Circuit]] 01:29, 24 December 2007 (MST)
# This task was created due to '''Modularization''' section in [[Adding a new programming task]]. [[Write float arrays to a text file]] is a subtask of [[Measure relative performance of sorting algorithms implementations]]. [[Measure relative performance of sorting algorithms implementations]] depends on ''writedat()'', therefore it should be moved there if the subtask ever be perished.

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

Revision as of 20:03, 24 December 2007

Is this already covered in File I/O? It doesn't seem to add anything extra. --Mwn3d 23:10, 23 December 2007 (MST)

Agreed. Unless serialization deserves its own category, this task is somewhat superfluous. Even if serialization did get its own category, there are better ways to tackle the subject thoroughly. (And, admittedly, I wouldn't mind seeing the subject tackled, with cross-platform file compatibility being just one interesting aspect.) --Short Circuit 01:29, 24 December 2007 (MST)
  1. This task was created due to Modularization section in Adding a new programming task. Write float arrays to a text file is a subtask of Measure relative performance of sorting algorithms implementations. Measure relative performance of sorting algorithms implementations depends on writedat(), therefore it should be moved there if the subtask ever be perished.
  1. 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.
  1. 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. Geka Sua 13:03, 24 December 2007 (MST)