Using Scala functions to reduce duplication, as alternative to Strategy and Template method design patterns

January 19th 2010

PermaLink Tuesday 19:10 pm, by admin >>>MSGFORM<<<, 51 words, VIEWED 5083 TIMES   English (US)
Categories: Scala (english)

This post title is "Using Scala functions to reduce duplication, as alternative to Strategy and Template method design patterns"

I added a new example to Scalaforum of how Scala can be used for less verbose coding, compared to Java (!), without having to create an interface with only one method (including having to create a bunch of implementations, which you have to do in Java)

http://www.scalaforum.se/scala-for-java-developers/using-scala-functions-to-reduce-duplication/

Permalink BEFORESend feedbackAFTER • Trackback (0)

Trackback address for this post:

http://tomas.programmerare.com/blog/htsrv/trackback.php?tb_id=90

Trackbacks, Pingbacks:

No Trackbacks/Pingbacks for this post yet...

This post has 4057 feedbacks awaiting moderation...

Tomas Johansson's blog

Tomas Johansson is a Swedish developer, located in Stockholm, with a very strong interest in software development principles leading to long-term maintainable software. Some of these principles include Test-Driven Development, Domain-Driven Design, Architectural and Design patterns, SOLID Principles and GRASP patterns. Currently, my favorite programming language is Scala, but otherwise I am also generally interested in C#.NET and Java.

September 2010
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Search

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 2

powered by
b2evolution