Programming, Functional Programming, Scala, Tutorial, Venkat Subramaniam.
highest-priced stock, which we finally hand over to the print method of StockPrice. In addition to being concise, the code does not mutate any state. The state goes through transformations as it flows through the composed functions. Granted that this functional code is elegant and concise, but what