English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2004-11-03 (21:36)
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