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 ... 12 13 14 15 16 17 18 19 20 21 22 Next ]
Posted in Ruby Buzz Forum, Aug 31, 2010, 12:45 AM
Clojure sets and maps are functions.Since they are functions, you don't need functions to get values out of them. You can use the map or set as the example below shows.(#{1 2} 1)> 1({:a 2 :b 3} :a)> 2That's nice, but it's not exactly game changing. However, when you use sets or maps with high order functions you can get a lot of power...
Posted in All Buzz Forum, Aug 12, 2010, 12:08 AM
I'll admit it, the first thing I like to do when learning a new language is fire up a REPL. However, I'm usually ready for the next step after typing in a few numbers, strings and defining a function or two.What feels like centuries ago, Mike Clark wrote an article about using unit testing to learn a new language. Mike was ahead of his time...
Posted in Ruby Buzz Forum, Aug 12, 2010, 12:08 AM
I'll admit it, the first thing I like to do when learning a new language is fire up a REPL. However, I'm usually ready for the next step after typing in a few numbers, strings and defining a function or two.What feels like centuries ago, Mike Clark wrote an article about using unit testing to learn a new language. Mike was ahead of his time...
Posted in All Buzz Forum, Jul 27, 2010, 8:49 AM
In The Joy of Clojure (TJoC) destructuring is described as a mini-language within Clojure. It's not essential to learn this mini-language; however, as the authors of TJoC point out, destructuring facilitates concise, elegant code.What is destructuring?Clojure supports abstract structural binding, often called destructuring, in let binding...
Posted in Ruby Buzz Forum, Jul 27, 2010, 8:48 AM
In The Joy of Clojure (TJoC) destructuring is described as a mini-language within Clojure. It's not essential to learn this mini-language; however, as the authors of TJoC point out, destructuring facilitates concise, elegant code.What is destructuring?Clojure supports abstract structural binding, often called destructuring, in let binding...
Posted in All Buzz Forum, Jul 20, 2010, 3:22 AM
Before Clojure, I had never used a Functional Programming language. My experience has primarily been in C#, Ruby, & Java. So, learning how to use Clojure effectively has been a fun and eye-opening experience.I've noticed a few things:The Clojure language has a lot of built in support for maps and hashes (literal syntax, destructuring, etc)Rich...
Posted in Ruby Buzz Forum, Jul 20, 2010, 3:22 AM
Before Clojure, I had never used a Functional Programming language. My experience has primarily been in C#, Ruby, & Java. So, learning how to use Clojure effectively has been a fun and eye-opening experience.I've noticed a few things:The Clojure language has a lot of built in support for maps and hashes (literal syntax, destructuring, etc)Rich...
Posted in All Buzz Forum, Jul 7, 2010, 8:49 PM
In the early days of my project we made the decision to high-level test our Java application with Clojure*. One and a half years later, we're still following that path. It seemed worthwhile to document the progress so far.My current preferred style of testing is rigorous unit testing and less than a dozen high level tests. This style of testing...
Posted in Ruby Buzz Forum, Jul 7, 2010, 8:49 PM
In the early days of my project we made the decision to high-level test our Java application with Clojure*. One and a half years later, we're still following that path. It seemed worthwhile to document the progress so far.My current preferred style of testing is rigorous unit testing and less than a dozen high level tests. This style of testing...
Posted in All Buzz Forum, Jul 6, 2010, 10:49 AM
When discussing adopting Clojure or JRuby there are often heated discussions concerning the pros and cons of working with a language that has less IDE support. This blog entry will focus on the common concerns I hear.I've never met anyone who has mastered Ruby or Clojure and had the opinion that they are more productive in Java. I think that's...
Posted in Ruby Buzz Forum, Jul 6, 2010, 10:49 AM
When discussing adopting Clojure or JRuby there are often heated discussions concerning the pros and cons of working with a language that has less IDE support. This blog entry will focus on the common concerns I hear.I've never met anyone who has mastered Ruby or Clojure and had the opinion that they are more productive in Java. I think that's...
Posted in All Buzz Forum, Apr 12, 2010, 10:55 PM
I've been doing a bit of clojure lately and I've often found myself looking to convert a custom collection to a sequence. Unfortunately, several custom collections from libraries that we use don't implement Iterable; therefore, I can't simply use the seq function to create a seq.In Java it's common to simply use a for loop and a get method to...
Posted in Ruby Buzz Forum, Apr 12, 2010, 10:55 PM
I've been doing a bit of clojure lately and I've often found myself looking to convert a custom collection to a sequence. Unfortunately, several custom collections from libraries that we use don't implement Iterable; therefore, I can't simply use the seq function to create a seq.In Java it's common to simply use a for loop and a get method to...
Posted in All Buzz Forum, Mar 11, 2010, 9:26 PM
In 2007 & 2008 I wrote several blog entires on Pair Programming (tagged with pair programming). Pair programming solved a lot of problems for me: knowledge transfer, mentoring, code review, etc. It also solved another problem at the same time, even though I wasn't aware of it. Pairing helps reduce the number of cooks in the kitchen.These days...
Posted in Ruby Buzz Forum, Mar 11, 2010, 9:26 PM
In 2007 & 2008 I wrote several blog entires on Pair Programming (tagged with pair programming). Pair programming solved a lot of problems for me: knowledge transfer, mentoring, code review, etc. It also solved another problem at the same time, even though I wasn't aware of it. Pairing helps reduce the number of cooks in the kitchen.These days...
51 pages [ Previous 1 ... 12 13 14 15 16 17 18 19 20 21 22 Next ]
Advertisement