• Home
  • RSS Feed
  • Log in

Archive for the ‘Functional Programming’ Category

Google Code Jam 2009 – Qualification
Posted by Jeroen van Erp terribly early in the morning: September 4th, 2009

Aliens sending messages, Water flowing over a map and finding the hidden Welcome message in a String... Yes, Google Code Jam has returned for the 2009 edition! I participated in the Qualification Round and managed to solve all but 1 input set....
(more...)

  • Share/Bookmark

Tags: Functional Programming, Google, google code jam, Scala
Filed under Functional Programming, General, Java, Scala | 4 Comments »

Functional bowling in Scala
Posted by Arjan Blokzijl just before lunchtime: July 25th, 2009

I have read about implementing the bowling game XP-style many years ago in Robert Martin's book 'Agile Software Development'. The episode can be found online as well.
Recently he has recently been learning Clojure and attempted to implement the bowling game in Clojure.
It is a nice exercise, and although I like Clojure, I do not regard myself capable in any way to repeat such an attempt. Apart from that Stuart Halloway, author of the excellent 'Programming in Clojure' book, has already done this in a much better way than I ever could. I'm slightly more familiar with Scala, so I thought it would be a nice exercise to try some functional bowling using that. My Scala knowledge is in a deplorable state, stuck at pre-beginner level, so I run the risk of making a complete fool of myself. However I'll take the chance and at least try to learn from the experience.

(more...)

  • Share/Bookmark

Tags: Functional Programming, Scala
Filed under Functional Programming, Scala | 7 Comments »

Real world functional programming in Scala – comparing Java, Clojure and Scala
Posted by Arjan Blokzijl mid-afternoon: July 4th, 2009

I recently started reading Stuart Halloway's book 'Programming in Clojure'. I don't think I will be writing much enterprise applications in that language in the near future, but it never hurts to broaden the mind, and it's a very good read. In his book, he demonstrates some of the advantages of functional programming by taking an example from the Apache commons library: StringUtils.indexOfAny. He has also written a blog about it.
In this blog post, we'll compare the original function in Java, the Clojure version and a Scala implementation.
(more...)

  • Share/Bookmark

Tags: funtional programming, Scala
Filed under Functional Programming, Scala | 15 Comments »

ShuntingYard algorithm in Scala
Posted by Jeroen van Erp just before lunchtime: July 2nd, 2009

Last week I came across an interesting "coding kata" by Brett Schuchert on the Object Mentor blog. The trick of a kata is that you grow the program step-by-step using tests, just like a kata in karate is tought to a student. The problem of this kata was the Shunting Yard algorithm of Dijkstra. I wanted to see if I could implement this kata in Scala.
(more...)

  • Share/Bookmark

Tags: Functional Programming, kata, Scala, shunting, yard
Filed under Functional Programming, Scala | No Comments »

QCON SF: return of the fundamentalist functional programmer
Posted by Arjan Blokzijl in the early afternoon: November 30th, 2008

While attending QCon San Francisco, I had the particular pleasure of attending a whole track that was devoted to the area of functional programming, a topic that I have a profound interest in. After having followed the track, I'm even more convinced than before that functional programming is not confined the the academic world. I think that it will have a profound impact on our mental perspective and the way we think about programming and problem solving in the next coming years. In this blog, I will summarize the sessions I followed, provide you with a couple of thought provoking ideas that I picked up, and hopefully makes you think about your programming style.

(more...)

  • Share/Bookmark

Tags: Functional Programming, qcon
Filed under Functional Programming, qcon | 1 Comment »

Deployment automation for Java application running on Websphere, WebLogic and JBoss

Archives

  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009

Xebia Sites

  • Xebia Corporate
  • Xebia France
  • Xebia India

Categories

  • Java (282)
  • Agile (109)
  • General (50)
  • Testing (42)
  • Performance (42)
  • Hibernate (36)
  • Scrum (33)
  • Podcast (31)
  • Architecture (31)
  • Spring (28)
  • SOA (24)
  • Maven (22)
  • Project Management (22)
  • Middleware (23)
    • Deployment (14)
  • Flex (17)
  • JPA (17)
  • Eclipse (15)
  • Xebia Labs (15)
  • Quality Assurance (14)

Tag Cloud

    qcon product owner esb Agile Ajax Performance Seam Semantic Web Groovy Lean Maven Xebia SOA IntelliJ Poppendieck Hibernate XML Java Functional Programming Agile Awareness Workshop JavaOne fitnesse Spring Grails Scrum Introduction to Agile Closures Scala Testing Architecture