Entries in Development (6)

Saturday
Aug292009

Petter Released for the iPhone!

My first iPhone App, Petter, is available in the App Store!

It took a bit longer to get out there than I had anticipated (about 2 months longer), but it's finally out and it's been quite a learning experience.

Click to read more ...

Saturday
Aug082009

Pass-By-Reference Error Handling?

I'm going to try something new here. Normally when I write a post, I think through everything that I want to say before I start writing. But I think I'm going to just shoot from the hip on this one and see what happens. Since I'm just writing this as I'm thinking about it, the end result may be brilliant or it may be senseless drivel that will make you dumber by reading it - Proceed with caution.

I was just reading Joel Spolsky's argument against programming with exceptions, and I'm inclined to agree with him.

A better alternative is to have your functions return error values when things go wrong, and to deal with these explicitly, no matter how verbose it might be. It is true that what should be a simple 3 line program often blossoms to 48 lines when you put in good error checking, but that's life, and papering it over with exceptions does not make your program more robust. I think the reason programmers in C/C++/Java style languages have been attracted to exceptions is simply because the syntax does not have a concise way to call a function that returns multiple values, so it's hard to write a function that either produces a return value or returns an error.

While I completely agree with this, I think one could argue that we do have a way of returning multiple values: Pass-By-Reference.

Click to read more ...

Tuesday
Jun302009

Highlight the Author's Comments in Squarespace

Here's another Squarespace tutorial for you. This one's a bit shorter than the last one. In this tutorial, I'll show you how to highlight comments that are written by the author, so that they stand out amongst regular user comments. This image should give you an idea of what I mean.

Click to read more ...

Saturday
Feb212009

Add a Custom Twitter Widget to Your Squarespace Site

Updated on June 26, 2009 by Registered CommenterErrornix

Twitter BirdAs I'm sure you've noticed, I recently added a Twitter widget to the site. Twitter does a pretty good job of getting you started with a generated chunk of HTML/JavaScript (or Flash). But I figured I'd go ahead and describe what all I did to add the widget to Squarespace as well as give some insight into how you can customize your Twitter widget.

Click to read more ...

Saturday
Oct112008

Flex Broke (I think)

[Originally published 06/04/08]

I've been messing with Adobe Flex quite a bit for the past few months, and so far it's awesome! However, I was recently working on a small application when I ran into a weird issue. Now I'm not sure if this is an issue with Flex, ActionScript 3.0, or maybe it's just something that I did wrong, but here's what's happening.

Click to read more ...

Saturday
Oct112008

Developers In Pain

[Originally published 03/04/08]


Devshop - Squash the Risk.

 

Click to read more ...