Project Euler and Scala

What the heck is Project Euler?

A summary from the website is below:

Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required to solve most problems.

Leonard Euler

So you need use programming skills along with Mathematical insight to solve these problems.  That is what I need to learn my new interest Scala.

The picture above is Leonhard Euler.  The project was named after him.  I am not sure completely sure why, but I know he was a Swiss Mathematican and Physicist.

What the heck is Scala?

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 languages, enabling Java and other programmers to be more productive. Code sizes are typically reduced by a factor of two to three when compared to an equivalent Java application.

Scala Programming

To me, Scala is an object oriented programming (OOP) and functional programming (FP) language.  Its a best of breeds in my opinion.  I can leverage what I learned in OOP while easing into FP.

So what are you going to do with this?

I am going to solve problems from Project Euler and I am going to use Scala to do it.  I am sure my solutions will be crude but at least I am learning something.  Also, I am hope my readers with offer insights for improvements.  Yes, I am talking to you out there reading this.:)

Additional Resources – The homepage for the Scala programming language.

Be Sociable, Share!

Leave a Reply