Skip to main content

Welcome to ZX81.org.uk

Tag: Language

The Prodigal Tongue

Lynne Murphy writes a great blog, which this book is at least partly based on, about the differences between American and British English. Or should that be that this book is based on?

Books like this really make you question everything you write.

Some of the material I was already familiar with, having read it elsewhere, possibly even on her blog, but there were plenty of new facts to keep me entertained. Sometimes it’s difficult to remember where a word of phrase came from. Did I always say that or did I learn it more recently? How do you pronounce words? When it came up in conversation a few months ago, I genuinely couldn’t remember whether I normally said “skedule” and “shedule.” I kept second-guessing myself!

Swift Types

If you look at the Swift Language guide, you get the distinct impression that the type system is sleek and modern. However the more you dig into it the more eccentricities you find.

The one I’m going to look at today makes sense only if you look at the problem domain from a slightly skewed perspective. I’ve been trying to think whether this is a sensible, pragmatic way of designing a language or a mistake. Judge for yourself.

Swift Hate

I’m seeing a surprising amount of vitriol aimed at Swift, Apple’s new programming language for iOS and Mac development. I understand that there can be reasoned debate around the features (or lack thereof), syntax and even the necessity of it but there can be little doubt about the outcome: if you want to consider yourself an iOS developer, it’s a language that you will need to learn.

The only variable I can think of is when you learn it.

Learning Swift

Swift is a new programming language designed by Apple for development on OS X and iOS. I thought that I should try to learn it a little so I decided to convert a non-trivial collection of classes from one of my apps (www.cut) into Swift. I always find it better to work on a real project rather than just to play around with things aimlessly. Also, by re-working an old project, I knew that all the problems I would find would be language related rather than anything to do with the architecture.

My delicious.com bookmarks for April 17th through April 18th

Translations

[![](https://i0.wp.com/www.zx81.org.uk/wp-content/uploads/2009/08/Icon2.png?resize=57%2C57 "www.cut Icon")](https://i0.wp.com/www.zx81.org.uk/wp-content/uploads/2009/08/Icon2.png)
www.cut Icon
One of the nice things about Apple’s App Store for iOS devices is that it’s available in every country that has the iPhone. One of the unfortunate things is that the people in most of those countries don’t speak English as a first language and I, as a typical Englishman, know no other languages.

Then I heard about GetLocalization (whose name needs localising!), a site which allows you to “crowd-source” translations. I honestly don’t know if it will work but I thought it was a good idea and something worth trying and supporting.

My delicious.com bookmarks for December 4th through December 9th

My delicious.com bookmarks for May 8th through May 18th

C++

Introduction

I don’t want to start off on the wrong foot again, but I’m afraid I might have to. If you read my discussion of the C programming language you may imagine that I’d like C++. After all, C++ fixes some of C’s idiosyncrasies, adds object orientation and a whole host of new features.

You’d be wrong though. In many ways I consider C++ to be a step backwards from its parent and this piece will hopefully explain why.

My del.icio.us bookmarks for July 4th through July 9th