Talk:Binary strings

From Rosetta Code

Break out?

I think this task should be broken out into smaller tasks and then put into a category. String concatenation is already a task, so it would be grouped with these tasks. --Mwn3d 18:04, 14 April 2009 (UTC)

Maybe is a good idea... But a path similar to Basic bitmap storage should be begun. I mean, the struct String is shared among all the tasks... so we need also a task like "provide a basic storage for a (binary) string", so that next tasks can refer to it instead of replicating the struct, or linking to where it is defined since it is needed by a specific function, e.g. see "String concatenation" for struct... --ShinTakezou 11:51, 15 April 2009 (UTC)
Then I've taken a look at those tasks and they do not focus on the concept of "byte strings", rather they refer to text strings. This is an issue if the text string implementation uses a terminator character, like C; and in fact the C solutions to those tasks (Copy a string, String concatenation, String length) work only for null-terminated string (i.e. "null" char can't be part of the string). (Of course this does not happen in every languages; but C is among those having this "problem"). I think it is enough to add some more C code to those tasks... --ShinTakezou 15:23, 15 April 2009 (UTC)