Jack Cough on Software

Thoughts about Languages.

Saturday, September 13, 2008

Language Feature Request

›
Maybe this feature exists in some language, I'm not sure. My inexperience is letting me down. :( Here is what I want, as demonstrated in...
3 comments:
Sunday, July 06, 2008

Using Scala Actors

›
I'm assuming (maybe incorrectly) that most of the Actors that will be written will simply want to react to messages, forever. Something ...
Sunday, June 15, 2008

Scala and Enums

›
Scala doesn't have language level support for enumerations, but I think its fairly easy to argue that its a good thing. First, something...
8 comments:
Saturday, May 17, 2008

When To Call a Constructor Part 1

›
I've it said before (and people a lot smarter than me like Gilad Bracha), and I'll say it again: Constructors are Evil. Unfortunatel...

My First Scala Presentation

›
I gave my first talk on Scala today, to my team at NYSE. It was an entirely informal, BYOL (Bring your own lunch) talk that I hadn't pre...
Friday, April 04, 2008

ScalaTest and TestNG

›
THIS IS AN INCOMPLETE DRAFT, POSTED FOR REVIEW. I UNDERSTAND SOME SECTIONS NEED WORK AND SOME SECTIONS ARE EMPTY OR MISSING ENTIRELY, AND TH...
2 comments:
Thursday, February 14, 2008

ScalaTest and Mocking

›
I've added in some mocking into ScalaTest thanks to specs integration. I've done it in a BDD style, kind of like rspec's given/...
2 comments:
Thursday, January 31, 2008

Which Style Is More Readable?

›
I've been writing ScalaTest tests for the ScalaTest TestNG integration (say that five times fast). I used a couple of different styles a...
Wednesday, January 23, 2008

Scala and TestNG in Far Greater Detail

›
I wrote before on running TestNG in Scala and due to popular demand I'm going to go into much greater detail. My goal is to show that ru...
3 comments:
Sunday, January 20, 2008

My Small Problem with the Scala Actor Model

›
Something seems wrong to with the whole send/! idea. The Scala guys say ! apparently means "send", but it really means "add m...
1 comment:

Scala: Fold Left Question

›
I recently realized that I could make a piece of code I posted in a recent blog much cleaner using foldLeft. I have a bit of a problem howev...
6 comments:
Sunday, December 30, 2007

Closures Non Local Return - Scala And Java

›
I've heard a lot of people bickering about Java Closures. One of the many reasons they are fighting with each other is that in the BGGA ...
5 comments:

Coolest Code I've Ever Written

›
Because Scala lets you name methods pretty much whatever you want, I got the chain wires together like this: @Test def lastPowerSourceInCh...
1 comment:
Friday, December 28, 2007

Using TestNG in Scala: By Example

›
Here is a very, very simple example of some TestNG stuff that I wrote the other day in Scala (it can also be found here ): package com.joshc...
12 comments:

Reading Scala

›
After working a bunch in Scala the other day, and continuing to obsess over it, I've realized something. Reading the code Scala language...
Wednesday, December 26, 2007

Unit Testing in Scala and in IDE's in General

›
I reviewed a few Scala unit testing frameworks today: SCUnit , and Rehersal . When all was said and done I determined something that I found...
3 comments:

Things are coming together (and Scala is awesome)

›
I did a ton of reading on Scala today, and I did a lot of writing code and using Scala today. This makes me really happy. The best idea th...
Wednesday, December 12, 2007

More on Reading Code

›
Let's revisit reading code and bring in some extra twists. (Hint: Debuggers are WRONG) First, I know for a fact that I've read a lo...
Sunday, December 09, 2007

CPU Simulator on Google Code

›
No one might actually contribute, except myself, but I put my CPU Simulator project up on http://code.google.com/p/cpusimulator . This wasn...
Saturday, December 08, 2007

Reading Code

›
I haven't written and songs in a while. Way too long. Like, maybe a year. Terrible. It dawned on me just now (though I'm sure I knew...
‹
›
Home
View web version
Powered by Blogger.