How to Use Functional Programming in Ruby with XML

Publié le: 24 mars 2017
sur la chaîne: edutechional
1,191
11

In the last guide I implemented an XML parser that counted all of the lines from Shakespeare's Macbeth play. That implementation worked, however it used an iterative approach, which resulted in a highly coupled method that would only be able to work on another XML file if it had an identical structure and set of tag names. In this guide we're going to refactor the solution to utilize a functional approach.

Follow me:

Twitter:   / jordanhudgens  
Instagram:   / jordanhudgens  
GitHub: http://github.com/jordanhudgens

Source code: https://www.crondose.com/2017/03/refa...


Sur cette page du site, vous pouvez voir la vidéo en ligne How to Use Functional Programming in Ruby with XML durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur edutechional 24 mars 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,191 fois et il a aimé 11 téléspectateurs. Bon visionnage!