How to Use Functional Programming in Ruby with XML

Pubblicato il: 24 marzo 2017
sul canale di: 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...


In questa pagina del sito puoi guardare il video online How to Use Functional Programming in Ruby with XML della durata di ore minuti seconda in buona qualità , che l'utente ha caricato edutechional 24 marzo 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,191 volte e gli è piaciuto 11 spettatori. Buona visione!