Today I took a light rail with my son, to bring him to school. That tram is 90 years old. It has been maintained for 90 years. Milan city sold some of them to San Francisco too.
This is the second article on functional programming. In the first one we talked about scala and the type inference system it brings in the Java Way of Life. I played a bit with python functional howto, building a small game. Before starting I surfing for a bit of libraries and documentation.
Because of the success of my article on java closure, I have decided to write another article on functional programming. In the last year functional programming is waving back to us, for a lot of reason. Let’s summarize the facts: Functional programming is based on the core concept of pure function. The main advantages of …
F# is a Microsoft research Language. F# is riding the functional revenge way of the last years. F# is a mixed approach, because some variables can be modified. It borrows a lot of things from Haskell and OCaml (Wikipedia dixit). F# is not used like Erlang or Haskell but it could be installed with Visual …
How many times have you read or written the same two or three lines of code that frequently seem to go together, and even though they operate on different objects, feel like the same thing? And how often these repetitions involve some sort of collections iteration or more generically manipulation? These repetitions in the code …
After the success of Closure in Java we like to show you a good example in C# too. C# has a very strong support for Lambda functions, because it needs to support the LINQ language constructs. So defining a closure is quite easy. Best, it is possible to define a “delegate” , which is a …
Working for two very important Banks, I have the need to play with Closure in Java. I have a lot of trouble looking at a good description of the subject, until I read a post on StackOverflow. I have decided to re-cook this subject, adding a my specialized Example also. Let’s start!
This article is a work in progress: it will be expanded by your comments… Python is a very curios programming languages: it give you classes but also a strong function-oriented environment to play with. So, if you like functional programming (read: you like Lisp and/or Erlang) you should give python a closer look.
After reading an interesting article on Erlang and Java interoperability, I have decided to dedicate my spare time to Erlang. O’Reilly has just published a wonderful book on Erlang, so I decided to dive into it.