Oct 28
KVO++?
Posted by in automatic assignment, assignment operator, objective c, foo on 10 28th, 2008| icon3
I think it could be useful to have a shortcut added to Objective-C which combines a keyword value observer relationship with an automatic assignment on value change. It could be noted syntactically using a new assignment operator (=> in my example below): SomeObject *foo = [SomeObject new]; AnotherObject *bar = [AnotherObject new]; bar.property => foo.changingProperty; The goal would be to [...]

Tagi: automatic assignment, assignment operator, objective c, foo

Dec 21
Fun With LLVM & Whirl
Posted by in whirl, languages on 12 21st, 2009| icon3
It’s been a long time since I wrote any code purely for fun - but I recently finished just such a project. Pretty much ever since I heard about LLVM I’ve wanted to do something with it. The obvious choice was to build a compiler for one of my esoteric languages. Well, I finally got around [...]

Tagi: whirl, languages

Dec 28
[ Concrete or Abstract or Tool ] A concrete Box object may represent an actual on-screen box where if you adjust the x or y properties of the object, the on-screen box moves and if you remove or delete the Box object, the visible box goes away. An abstract Box object may simply be a container [...]

Tagi: object oriented design, design dilemmas

next >