1

I have noticed that it is common on StackOverflow for questions to use "on ⟨programming language⟩" where American English would require "in". For example, "Is there a getInt function on Haskell". Is there a particular English dialect where this usage is common, or is this more likely a mistake by a non-native speaker?

1
  • 2
    I doubt it's really a usage you could say is "dialectal", or "regionalised" in any meaningful way. Obviously some native speakers will conflate Operating Systems (which you often develop on or under) and languages (and/or associated programmer workbenches). But I expect there will be far more non-native speakers prone to mistakenly use the non-idiomatic preposition. Certainly many of the instances I can easily find in Google Books have author names suggesting they might not be native speakers, but I haven't examined surrounding text to investigate further. Jul 12, 2016 at 3:22

2 Answers 2

1

First of all, a short answer is just that I, as a Brit, have never heard anyone say on [language] and I, as a programmer, have always said in [language]. Indeed a cursory search of Google books would suggest that the phrasing program on (presumably followed by the name of a language in this case) is mainly used in AmE to say something like

This is a programme on compound semiconductors.

More in the sense of a research trial or as the OED puts it:

A set of related measures or activities with a particular long-term aim: the British nuclear power programme

While on the other hand program in comes up with lots of references to computer programming, for example:

How Not to Program In C++

(The top search result)

Furthermore, a Google search specifically of Stack Overflow shows that the phrasing program on is more often used in reference to operating systems or devices and not individual programs or languages.

Finally, if we look at the phrase program in from Stack Overflow it comes up with lots of references to

I program in [given language]

I would therefore suggest that you always use in as the preposition here if you're talking about a language.

0

The person who said "on Haskell" is someone called Mario from the Universidad de Granada. The chances are that he is not a native English speaker. He is probably Spanish. It's very easy to get prepositions wrong in foreign languages. Mario simply got it wrong. I've been a professional software developer for many years, and I've never heard anyone say "on [programming language]".

1
  • The reason I asked is that I've been mistaken about such things in the past. Indian English often surprises me, and there are surely others I'm even less familiar with.
    – dfeuer
    Jul 12, 2016 at 6:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.