Walter Meester
HoogkarspelPays-Bas
Hi emmanuel,
>Good try but it seems that the challenge was just a show case for the Haskel programming language ("I can do this in 22 lines of code in Haskel" etc.) and the difference between "functionnal" (Haskel) and "imperative" (VFP, C#, C++ etc.) programming languages.
O.K, I did not quite get that. However, with VFP, despites calvins rather weak attempt, it can be done far more efficient and shorter. I can get the core mechanism in just 14 lines of VFP code and the total example under the 25 lines, so the number of lines is not making a case for that programming language. However of course as you said it shows how things can be done in a functional language like haskel.
Walter,
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement