Pages:  1 2 3 4 5
The many different builder patterns
  Created - 2016/05/15 14:38:02+0000

You may have heard of the builder pattern . It's one of the Gang of Four's original design patterns. A builder is an object that provides a method to construct an object and other methods to configure the object to be built. A builder is first configured and then used to construct an object. It sounds simple but there are variants on this pattern. The builder is often considered a good candidate for a fluent interface. A fluent interface makes the builder object easier to configure. Multip... read more

How's TypeScript?
  Created - 2016/04/13 22:23:25+0000

How's TypeScript? I had planned to complain about TypeScript because I couldn't generate the doc the way I wanted. Then I found the flag to fix it so I decieded to say something nice. Documentation generation matters. Yes, TypeScript is a bit better than JavaScript. No I'm not going to change my website to use it any time soon but that is because I'm tired of reqritting my website. I had implemented a simple JavaScript library and application to poll and parse a JSON resource. Then I aske... read more

It has finally happened
  Created - 2016/03/19 20:59:49+0000

It has finally happened. I have finally joined StackOverflow . I don't know how it happened but at least I can stop feeling guilty about reading it all the time.

Removing ClojureScript
  Created - 2016/01/03 15:42:12+0000

Sad to say I've removed ClojureScript from my website. Porting everything to vanillia JavaScript. Everything seems to still work. I did it for a simple reason. I was able to reduce the size from 1,136.69 KiB to 4.47 KiB. It's the cost of the runtime. I could have squeezed the ClojureScript down with minification and compression but my website is light enough to just write JavaScript instead of generating it. It wasn't that long ago I added the ClojureScript but I've not been able to get th... read more

Website update
  Created - 2015/08/02 22:00:40+0000

I've recently substantially updated this website. It now makes use of HTML5 (it took a long time for me to get round to it I know), the client side has been rewritten in ClojureScript (much nicer than JavaScript) and the server side has been simplified (boring). It has taken longer than intended to finish but it is now in great shape. Let me tell you about why. The client side scripting is not very extensive on my site but going forward I decided I'd rather work in ClojureScript than JavaScript. ... read more