An Introduction to Scala Functional Programming – Part 1

Expression-Oriented Programming In expression-oriented programming every statement is an expression. To understand EOP, you have to understand the difference between a statement and an expression. A statement executes code, but does not return any value, for example: customer.computeDiscount() An expression returns value. Expressions are blocks of code that evaluate to a value as seen here: […]

Continue Reading