In Defense of OOFP (Alex Nedelcu)
In Defense of OOFP (Alex Nedelcu) By Alvin Alexander. Last updated: February 13 2018 Alex Nedelcu has a good article titled, In Defense of OOFP, in which he writes about Scala, OOP, FP, and the Scala...
View ArticleHow to get multiple, unique, random elements from a list of elements
How to get multiple, unique, random elements from a list of elements By Alvin Alexander. Last updated: January 15 2019 One thing I never thought about before is that if you need to get multiple,...
View ArticleScala: How to append and prepend items to Vector and Seq
Scala: How to append and prepend items to Vector and Seq By Alvin Alexander. Last updated: May 19 2018 Table of Contents Solution Example data Append a single item Append multiple elements Prepend a...
View ArticleHow to create and populate Scala Vectors (syntax, examples)
How to create and populate Scala Vectors (syntax, examples) By Alvin Alexander. Last updated: January 28 2019 This page contains a collection of examples that show how to create and populate instances...
View ArticleMethods to “update” Scala Vector and Seq
Methods to “update” Scala Vector and Seq By Alvin Alexander. Last updated: May 21 2018 This page shows a few examples of methods that can be used to update a Scala Vector. Note that these same methods...
View ArticleGrouping method examples for Scala Vector and Seq
Grouping method examples for Scala Vector and Seq By Alvin Alexander. Last updated: May 21 2018 This page shows a few examples of “grouping” methods that can be used on the Scala Vector. Note that...
View ArticleScala Seq class: methods, examples, and syntax
Scala Seq class: methods, examples, and syntax By Alvin Alexander. Last updated: July 15 2019 This page contains a large collection of examples of how to use the methods on the Scala Seq class....
View ArticleRecently-added Scala cheat sheets, tutorials, syntax, and examples
Recently-added Scala cheat sheets, tutorials, syntax, and examples By Alvin Alexander. Last updated: June 17 2018 As I try to organize things a bit around here, here’s a list of some tutorials I’ve...
View ArticleA Scala method to write a list of strings to a file
A Scala method to write a list of strings to a file By Alvin Alexander. Last updated: July 6 2019 As a brief note today, here’s a Scala method that writes the strings in a list — more accurately, a...
View ArticleHow to drop the first matching element in a Scala sequence
How to drop the first matching element in a Scala sequence By Alvin Alexander. Last updated: August 21 2019 Summary: This blog post shows one way to drop/filter the first matching element from a Scala...
View ArticleBenchmarking Scala Collections
Benchmarking Scala CollectionsURLhttp://www.lihaoyi.com/post/BenchmarkingScalaCollections.htmlalvinJanuary 10, 2020 - 9:49amRead more about Benchmarking Scala CollectionsBack in 2016, Li Haoyi put...
View Article
More Pages to Explore .....