Procedure vs Functional Programming


Compared code style between Procedure and Functional in Scala.

For example, I have a set of keys that want to find the value of each key and then return the result in [key -> value] by filtering out the null value.

Which one is clear for you ?

#THJUG #SCALA #NORBOR #FUNCTIONAL #PROCEDURE