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

Why Scala – Part 1

Scala is a general-purpose programming language designed to express common programming patterns in a concise, elegant, and type-safe way. It smoothly integrates features of object-oriented and functional programming languages, enabling programmers to be more productive. Martin Odersky (the creator of Scala) and his team started development on Scala in 2001 in the programming methods laboratory […]

Continue Reading