IronRuby != DLR Enterprise Mashups, EAI 2.0, MashupCamp
Aug 16

AOP in 2007

AOP, Tech Add comments

Is it sad that the mentions of AOP these days relate to code like:

String.prototype.capitalize = String.prototype.capitalize.wrap(
function(proceed, eachWord) {
if (eachWord && this.include(” “)) {
// capitalize each word in the string
return this.split(” “).invoke(”capitalize”).join(” “);
} else {
// proceed using the original function
return proceed();

“hello world”.capitalize() // “Hello world”
“hello world”.capitalize(true) // “Hello World”

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: What is the number before 3? (just put in the digit)