Advertisement
Nickname
jayfields
Registered since:
September 7, 2006
Short bio:
Jay Fields is a software developer for DRW Trading (http://drw.com)
Home page:
http://www.jayfields.com
Total posts:
765

Forum posts by Jay Fields:

51 pages [ Previous 1 ... 14 15 16 17 18 19 20 21 22 23 24 Next ]
Posted in All Buzz Forum, Aug 17, 2009, 11:43 PM
Someone once asked me if I thought Clojure was more expressive than even Ruby. I didn't have enough information to form an opinion then, and I still don't now. However, I recently noticed something that led me to believe the answer could actually be yes.I was looking through the code of clojure.test on Friday and I noticed something...
Posted in Ruby Buzz Forum, Aug 17, 2009, 11:43 PM
Someone once asked me if I thought Clojure was more expressive than even Ruby. I didn't have enough information to form an opinion then, and I still don't now. However, I recently noticed something that led me to believe the answer could actually be yes.I was looking through the code of clojure.test on Friday and I noticed something...
Posted in All Buzz Forum, Jul 7, 2009, 6:50 AM
Last weekend, at the Hacker B&B, I mentioned to Jason Rudolph that my current team has no cardwall. He was a bit surprised and asked what we do have.We track what needs to be done in 3 stacks: Eventually, This Release, and Tech.Our stakeholder gives us requirements all the time. We also think of things that need to be done on a fairly regular...
Posted in Ruby Buzz Forum, Jul 7, 2009, 6:49 AM
Last weekend, at the Hacker B&B, I mentioned to Jason Rudolph that my current team has no cardwall. He was a bit surprised and asked what we do have.We track what needs to be done in 3 stacks: Eventually, This Release, and Tech.Our stakeholder gives us requirements all the time. We also think of things that need to be done on a fairly regular...
Posted in All Buzz Forum, Jun 25, 2009, 8:51 AM
At SpeakerConf 2009, one of the speaker's wives asked me: Why is it that most speakers are confident, and some are simply arrogant. The question was also in the context of "software is nerdy, how can you speakers be so cocky". I pondered for a minute and replied: When no one knows what's "correct", people with confidence generally win the...
Posted in Ruby Buzz Forum, Jun 25, 2009, 8:50 AM
At SpeakerConf 2009, one of the speaker's wives asked me: Why is it that most speakers are confident, and some are simply arrogant. The question was also in the context of "software is nerdy, how can you speakers be so cocky". I pondered for a minute and replied: When no one knows what's "correct", people with confidence generally win the...
Posted in All Buzz Forum, Jun 24, 2009, 8:46 AM
I've noticed a pattern pop up a few times in my Java code in the past 6 months. Maybe it's a decent pattern, or maybe I only have a hammer.The problem I'm trying to solve is setting some global state, running a test, and ensuring that the global state is set back to it's original (or correct) value. My usual solution to this problem is to...
Posted in Ruby Buzz Forum, Jun 24, 2009, 8:46 AM
I've noticed a pattern pop up a few times in my Java code in the past 6 months. Maybe it's a decent pattern, or maybe I only have a hammer.The problem I'm trying to solve is setting some global state, running a test, and ensuring that the global state is set back to it's original (or correct) value. My usual solution to this problem is to...
Posted in All Buzz Forum, Jun 22, 2009, 8:45 PM
Once upon a time Mark Needham wrote about freezing Joda Time. Mark gives all the important details for freezing time (which is often helpful for testing), but I came up with some additional code that I like to add on top of his example.Two things bother me about Mark's example. First of all, I always like the last line of my test to be the...
Posted in Ruby Buzz Forum, Jun 22, 2009, 8:45 PM
Once upon a time Mark Needham wrote about freezing Joda Time. Mark gives all the important details for freezing time (which is often helpful for testing), but I came up with some additional code that I like to add on top of his example.Two things bother me about Mark's example. First of all, I always like the last line of my test to be the...
Posted in All Buzz Forum, Jun 11, 2009, 12:46 AM
In March of 2009 I gave a talk at SpeakerConf about developer testing. The presentation is available as 'desktop' and 'iPhone' m4v files.speakerconf2009.m4v ('desktop')speakerconf2009iPhone.m4v ('iPhone')Unfortunately, the Q&A session is inaudible, so I cut the end short.© Jay Fields - www.jayfields.com
Posted in Ruby Buzz Forum, Jun 11, 2009, 12:46 AM
In March of 2009 I gave a talk at SpeakerConf about developer testing. The presentation is available as 'desktop' and 'iPhone' m4v files.speakerconf2009.m4v ('desktop')speakerconf2009iPhone.m4v ('iPhone')Unfortunately, the Q&A session is inaudible, so I cut the end short.© Jay Fields - www.jayfields.com
Posted in All Buzz Forum, Jun 8, 2009, 8:45 PM
These days I'm using Mockito for my behavior based tests. I like Mockito's integration with Hamcrest, but I don't always like the viral matcher requirement. In particular, if I have a method that takes 3 arguments, I don't like the fact that if I use a matcher for one argument I have to use a matcher for all 3. For example, in the following...
Posted in Ruby Buzz Forum, Jun 8, 2009, 8:45 PM
These days I'm using Mockito for my behavior based tests. I like Mockito's integration with Hamcrest, but I don't always like the viral matcher requirement. In particular, if I have a method that takes 3 arguments, I don't like the fact that if I use a matcher for one argument I have to use a matcher for all 3. For example, in the following...
Posted in All Buzz Forum, May 27, 2009, 8:46 PM
Calling Clojure from Java is easy, if you know which classes are important.On my current project I make all my Clojure files resources, load them, and call the functions directly. The following example shows Clojure printing the argument it's given.; printer.clj(ns printer)(defn print-string [arg] (println arg))// Java calling...
51 pages [ Previous 1 ... 14 15 16 17 18 19 20 21 22 23 24 Next ]
Advertisement