When is something language agnostic? Why is it called that?
-
Shed Shaw is bringing it back so try to get him to answer. – Dec 21 '10 at 04:00
-
8I think it should really be called **language polytheism** since the belief is that there is more than one path to getting something done. – chrisaycock Dec 21 '10 at 04:28
-
Try English forum too, you will get some answers. Joining the answers in that forum and in this forum will give you good idea. – Manoj R Dec 21 '10 at 05:39
-
Pseudo Code is Language Agnostic. – Mateen Ulhaq Apr 02 '11 at 09:13
-
1@muntoo, pseudo code itself is a language. – SK-logic Apr 02 '11 at 09:58
-
1@SK-logic OK, then; how about: *What you write in pseudo code is language agnostic*? – Mateen Ulhaq Apr 02 '11 at 20:12
-
@muntoo, of course it is not language agnostic, as it is written in a specific pseudo-code language. There are many different versions of pseudo code. – SK-logic Apr 02 '11 at 20:19
-
1@chrisaycock You mean ***polyglotism***? – dukeofgaming Jun 11 '15 at 01:06
-
3It should really be language ecumenical. It's not like you're unsure whether or not computer languages exist! – Rob K Sep 28 '17 at 14:58
4 Answers
Language agnostic refers to aspects of programming that are independent of any specific programming language. At least, that's how I've heard it used for the last thirty years.
The word "agnostic" is derived from the ancient Greek for "don't know". So something which is "language agnostic" doesn't need to know about computer languages; it means the same thing as language independent. Things that would be language agnostic include algorithms, or Agile, or a runtime library with bindings to many languages.
Some Mac OS X features are not language agnostic, because they're really designed to be used from Objective C, can only be used with difficulty from C or C++, and don't even have bindings for many languages.
There can also be a subtext to using "language agnostic" rather than other terms.
In colloquial English, someone who says they're "agnostic" means they are neither religious nor an atheist: they "don't know" about God. This is usually verbal code for "I don't like to talk about religion, so don't try to convert me."
So sometimes when people talk about being "language agnostic", they're trying to stay out of arguments about what computer language is better.

- 103
- 4

- 16,028
- 3
- 51
- 77
-
6BTW, agnostic comes from "a" (not) + "gnosis" (knowledge). Other words like it are "atheist" and "atypical". – Bob Murphy Dec 21 '10 at 05:31
-
2Yep I've always taken it as a reference to the fact the language wars are basically religious wars: language-agnostic techniques/advice/concepts avoid the holy war. – Carson63000 Dec 21 '10 at 05:42
-
Off-Topic: gnostic/agnostic refers knowledge. Atheist / theist refers to believing or affirming the existance. So technically you can have an agnostic religious believer or an agnostic atheist. But the explanation was very clear. You can also talk about a database agnostic system – Borjab Jan 20 '16 at 11:28
-
@Borjab I am agnostic believer in Vim. But I use Emacs for practcal reasons. – Brandin Jan 20 '16 at 13:58
-
1_Language agnostic refers to aspects of programming that are independent of any specific programming language._ When you say _any_ does that mean **a** or does it mean **all**? The cardinality is critical. For example, if a statement applies to OOP languages and is not restricted to one specific OOP language, but does not apply to Functional languages, is the statement language agnostic? – jaco0646 Oct 12 '18 at 20:09
-
It seems to be a synonym of *language-independent*, as in *[language-independent specification](https://en.wikipedia.org/wiki/Language-independent_specification)*. – Anderson Green Dec 20 '21 at 20:20
When a solution is called "language-agnostic" you are literally saying that your solution "doesn't know about" languages, meaning its universal or independent from language specifics (paradigms, language idioms, etc).
For example, design patterns are language-agnostic, because the way they are described the specific implementation doesn't matter as long it sticks to the whole or a subset of the pattern (v.gr. some design patterns can be implemented without OOP).
UML is language-agnostic, BPMN is language-agnostic, ERM is language-agnostic. An algorithm in pseudo-code is language agnostic...
Anything that is meant to be programmed but not described in a specific language can be called language-agnostic.

- 13,943
- 6
- 50
- 77
-
4Agnostic means "don't know about", not "doesn't believe in". Subtle but important difference! – JacquesB Jun 10 '15 at 20:19
-
BPMN certainly is not language-agnostic, because it models processes. There are programming languages where you define merely the precondition and the desired result and the process unfolds implicitly, e.g. Prolog. Even Haskell and BPMN don't go together particularly well, because of Haskell's lazy evaluation strategy that causes things to not happen according to some imperatively defined order of things. – back2dos Jan 20 '16 at 10:16
-
some design patterns aren't possible in certain languages. for example those that depend on mutability aren't applicable in functional languages – joel Jan 02 '20 at 11:40
I haven't heard the term before, however, I would assume it means learning aspects of programming that are independent of any specific programming language.

- 638
- 1
- 7
- 11
-
1
-
1That's pretty much the way I've heard it used for the last thirty years. – Bob Murphy Dec 21 '10 at 04:57
-
1
-
-
@Louis Rhys: Sorry, took me a few minutes to write it correctly. It's up. – Bob Murphy Dec 21 '10 at 05:29
-