NetBeans 6 delivers great updates to the Matisse GUI builder. Spend a few minutes with Roman Strobl and get an expert briefing on what's new and what has changed. (sponsored)
In this, the third and final installation of Andres' Introduction to Groovy series, you learn about how Groovy handles variable numbers of arguments, named parameters, currying, and more about Groovy operators. Including, some new operators.
JDave
is a framework which provides an easy way to specify behavior of your classes. Key concepts are
specification
, which is a container for
behaviors
. Behaviors define the behavior of a class and they are always expressed within some
context
. Context defines the setting where particular behavior applies.
For example, we could specify a Stack by first identifying that it has (at least) three interesting states, an empty stack, a full stack and a stack which is neither empty nor full. We would then continue by specifying the behavior of a Stack when it is in these states. The behavior can then be expressed as:
Stack specification
Empty stack
- is empty
- is no longer empty after push
- ...
Full stack
- is full
- complains on push
- contains all items
- ...
Stack which is neither empty nor full
- adds to the top when pushing new item
- ...
JDave 0.8.0, behavior driven development for Java
URL: jdave.org
At 3:04 PM on May 7, 2007, Joni Freeman wrote:
Fresh Jobs for Developers Post a job opportunity
For example, we could specify a Stack by first identifying that it has (at least) three interesting states, an empty stack, a full stack and a stack which is neither empty nor full. We would then continue by specifying the behavior of a Stack when it is in these states. The behavior can then be expressed as:
0 replies so far (
Post your own)