Sponsored Link •
Angle Brackets and Curly Braces
A Weblog by Bill Venners
Bill Venners is President of Artima, Inc.
B. Scott Andersen
Vladimir Ritz Bossicard
James O. Coplien
Cees de Groot
David Heinemeier Hansson
Jakob Eg Larsen
Robert C. Martin
John D. Mitchell
Eric S. Raymond
Guido van van Rossum
Richard Hale Shaw
June 5, 2011, Submit comment
Today I released a candidate for the next version of ScalaTest for Scala 2.9.0, ScalaTest 1.6.1.RC1. This release includes all the enhancements of ScalaTest 1.5, plus one new trait, BeforeAndAfter, a few deprecations, and improved documentation.
May 6, 2011, 12 comments
The ScalaTest Shell is a new DSL coming in ScalaTest 1.5 that aims to make ScalaTest easier to use from the Scala interpreter. This post gives preview.
April 25, 2011, Submit comment
Today I released a new ScalaTest-1.5 snapshot release that contains several enhancements, including formatted output for TDD-style traits, indented output for nested style traits, and two new style traits, PropSpec and FreeSpec.
April 3, 2011, Submit comment
The next release of ScalaTest will offer a unified API for table- and generator-driven property checks. This blog post gives a preview.
October 7, 2010, Submit comment
Artima has published its second book, Flex 4 Fun by Chet Haase. This book covers the graphics and animation parts of Flex 4: the fun stuff! Along the way it gives many insights and tips on how to use graphics and animation to create better users experiences.
October 26, 2009, 65 comments
Today I gave a presentation about ScalaTest at a local company. I showed ways ScalaTest integrates with JUnit and makes it easier to do some things that are harder to do with JUnit in Java. It made me curious to find out what JUnit users would say are their actual pain points today with JUnit.
October 7, 2009, 12 comments
In this blog, I attempt to answer a common question among Scala programmers: when would I opt to use an abstract type member instead of a generic type parameter in Scala API design?
September 19, 2009, 33 comments
At the JVM Languages Summit, Josh Bloch expressed his concern about what he called the "semantic gap" between the source code we write and its performance at runtime: As performance improves, our ability to predict the performance consequences of our source code degrades.
September 12, 2009, 4 comments
Scala has an Option type that provides a type-safe alternative to using null to represent optional values. In this blog post, I show how to replace nested conditionals involving Option with a for-expression.
August 28, 2009, 13 comments
A recent paper by Gilles Dubochet describes a study that concluded Scala code written in a functional style that favors for expressions and higher order functions is easier to comprehend than Scala code written in a more Java-like, looping style. It also found that meaningful variable names were insigificant or even detrimental to comprehension.
March 30, 2009, 78 comments
In "The Feel of Scala," a talk I gave at Devoxx which is now available on Parleys.com, I show Scala solutions to real problems to help you get a feel for the language. Along the way I demonstrate how you can get many of the productivity benefits offered by dynamic languages using alternative static techniques in Scala.
March 18, 2009, 34 comments
I've observed two, often competing aspects of code readability: clarity of the programmer's intent (the "what") and clarity of the implementation (the "how"). What does code readability mean to you, and what do you think is the best way to maximize it?
March 10, 2009, 6 comments
Last week I released a new version of ScalaTest (0.9.5) that includes a "matchers DSL" for writing more expressive assertions in tests. In this post I show differences between ScalaTest matchers and those in Ruby's RSpec tool, and discuss some of the general differences in DSL creation in Ruby and Scala.
December 30, 2008, 6 comments
The next version of ScalaTest will include a set of matchers. These matchers demonstrate the kind of DSL notation you can create in Scala. In this post, I give a sneak preview of ScalaTest matchers, and ask for feedback.
December 25, 2008, 1 comment
The latest version of ScalaTest includes a trait named SpecDasher, which when mixed into a Spec facilitates a more concise expression of specification-style tests. It is deprecated, however, and may be removed in a future release depending on user feedback. What's your opinion?