Archive for the ‘fun’ Category

A leisurely read through ECMAScript v4

Tuesday, March 4th, 2008
“like”
The special type operator like is used to test whether an object “looks like” a particular type even without being of that type. For example,
var v: like { x: int, y: int }
will accept both of these values:
{ x:3, y:3 } : Point
{ x:3, y:3 }

Advice to language designers: If you ever get to the point where it feels logical and appropriate to add a language feature such as like, please, just give up.

The future will thank you.

Plenty more from where that came from.

Rubby on Rails

Monday, August 14th, 2006

They fight with the Javacs all the time and even though they are basicaly Camp this does not mean they do not kick ass! They have a religion that is called ‘Getting Real’ that costs 20 dollars and is based on Zen (like Rubby).

Hilarious!

Waterfall 2006

Sunday, January 29th, 2006

Well, I’m definitely going. Aren’t you?

I wish I was Camping

Friday, January 20th, 2006

Rails has been deprecated.

37Signals hires _why and fires DHH.

You read it here first.

Java and Ruby philosophers agree

Monday, January 16th, 2006

Regarding my last Ruby post: Incidentally constants aren’t all that constanty in Java either. Bummer. Isn’t there any safety in this world!?

:-)

The philosophy of Ruby in a nutshell

Tuesday, January 10th, 2006

From the 1.8.4 API documentation:

mod.const_set(sym, obj) => obj

Sets the named constant [...snip...]

If the idea of such a method being around is appalling to you, don’t use Ruby. It’s not for you.

:-)

Here we go again…

Thursday, December 15th, 2005

Bill Roth (BEA manager of something) blogs about SCA:

What is SCA?
SCA is a specification that allows developers to focus on writing business logic.

Pfhahahahaha!!

I’m almost falling of my chair. How many times have I seen this or that technology touted with those words? And the result always being a much bigger mess than it was before. COBOL was one, and I’m telling you the ratio of business logic to cruft in the millions of lines of COBOL out there is embarrassingly low. Then came the 4GLs, and well, anyone that had to maintain an Oracle Forms or PowerBuilder app knows that it sure isn’t just about business logic. EJB was also sold this way, and we all know what happened to that.

Then it got me thinking…

Despite the vast amount of historical evidence, why is it so damn hard to get this right? There’s something to this insightful article by Nat Pryce. There is so much complexity in software relating to fighting paradigms, a patchwork of differing technologies, crufty code hacked together 3am before an important demo. I just love Nat’s parallel to modern day London. I used to live at one end of Bishopsgate in the City of London. Just walking the ten minutes down the street to London Bridge would expose you to neo-classical buildings, the odd surviving victorian (I lived in one), art deco, 21st century glass and brushed steel skyscrapers. With you walking would be Sikhs in their turbans, blonde (and drunk) scandinavians, moslem women in burkas, machissimo italians, gay couples (excuse the stereotypes, I think you get my point).

London may not be beautiful in the classical sense of the word, but there is certainly something very special about it.

Maybe it’s the same with software…?

JS/UIX

Friday, November 18th, 2005

You thought the Rails clone in JavaScript was crazy? Brace yourself…

This… is… a… port of Unix to JavaScript!!

Waaaaa!

Ruby on Rails in uhhh… JavaScript!?

Thursday, November 17th, 2005

Ok, I don’t know if this is completely insane or bloody cool. Probably a bit of both.

It’s a Ruby on Rails clone written completely in JavaScript that runs completely within one web page including a complete development environment! Play around with this demo
then click “show me the code” and you can actually see and edit the code right there!

Mind numbing.