How to Use Functional Programming in Ruby with XML

Veröffentlicht am: 24 März 2017
auf dem Kanal: 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...


Auf dieser Seite können Sie das Online-Video How to Use Functional Programming in Ruby with XML mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer edutechional 24 März 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,191 Mal angesehen und es wurde von 11 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!