From procedural to functional – an example in F# Posted on by Michal Franc In this blog post, I show little code review of a code sent to me by friend. The code is quite simple example on how to read XML file using XmlProvider. My friend’s biggest concern was that his code is still procedural and not ‘functional’. I was asked if this code can be refactored to be more functional, whatever it means. First of all, the code that I got, is fine and most importantly it works. Even when you are using F# to ...
Strona głównaSztuka programowania
Sztuka programowania 3422 dni, 10 godzin, 53 minuty temu 105 pokaż kod licznika zwiń