Version française
Home     About     Download     Resources     Contact us    
Browse thread
Worsening standard library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Serge <serge@s...>
Subject: Re: [Caml-list] Worsening standard library

> Any reason not to use 'scanf'?

Complexity. I do not mind having scanf, but using it requires
some understanding of modules, format strings and polymorphic types. And
people are unlikely to get bothered by these as soon as they are unable to
feed numbers into their simple programs. That's the catch. Reading numbers
should hardly be more complicated than reading strings, IMHO.

-------------------------------------------------------------------------------
 Serge S. Bityukov, Moscow State University, Dept of Mechanics and Mathematics