Talk:Read a file line by line: Difference between revisions

→‎Some constraints?: Too mature to change the tasks nature now.
m (clarifified how to enable prompting when not entering an edit summary.)
(→‎Some constraints?: Too mature to change the tasks nature now.)
Line 22:
 
I'd like to see some constraints on this task. This task is a potential example of the classic "buffer overflow" problem, and neglecting to even mention that issue in this context seems irresponsible. Perhaps we could impose some reasonable line length limit? (Would a megabyte be a reasonable line length limit?) --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 23:06, 8 March 2015 (UTC)
:Only potentially. This task is mature and too late to change. You could however try and write a new buffer overflow task, but we try and make tasks accessible to a wide range of languages and in some, the size of a string buffer may be naturally memory limited rather than limited by some smaller constant that the programmer is steered towards using by their normal language idioms.
: You would have to word it right. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 00:02, 9 March 2015 (UTC)
Anonymous user