The Magic of Replaceable Parameters

Apart from hard-coding “Hello, world!”, another bad habit you may have picked up when you learned programming is constructing user-visible messages from parts: strings, numbers and other data, concatenated together.

For example, say that you had to show the user how many unread messages there are in a given mailbox. Let’s assume that mailboxName contains the name of the mailbox, and messageCount holds the number of unread messages. In Java, you might be tempted to whip up a user-visible message like this:

String message = "There are " + messageCount + " unread messages in mailbox '" + mailboxName + "'";

This is not the way to do it in an international application. Let’s find out why, and have a look at a better and much more future-proof way of doing it.
Continue reading

Summer Specials 2012

It’s summer in the Northern Hemisphere, and at Mobile Monday Tampere tonight we are launching our Summer Specials 2012 offer for developers:

  • Free one-hour visit to your application project
  • Free half-day introduction to internationalization

Get either one or both! See our Summer Specials 2012 page for terms and conditions.

For more information, to schedule a time and to secure your seat, contact us.

The theme of tonight’s Mobile Monday Tampere is multi-platform development, which is exactly what we do: if your project is based on iOS, Android or Windows Phone, we can advise you on how to make it world-ready.