Skip to content
NorscodeNorscode

Why a programming language in Norwegian?

ArticleBy the Norscode project

Norwegian keywords are not a curiosity, but a deliberate choice about who programming should be accessible to.

Norwegian where others write English funksjon function hvis if mens while returner return

Norscode uses Norwegian keywords: funksjon, hvis, mens, returner. To some it seems like a curiosity. To us it is a deliberate choice about who programming should be accessible to.

The threshold no one talks about

Most programming languages are written in English. For an experienced developer that is unproblematic — English is the working language of the industry. But for a lower-secondary-school pupil, an adult switching careers, or someone who simply thinks best in their mother tongue, the English vocabulary adds an extra threshold on top of an already demanding task. You are not only learning the logic of a loop; you are at the same time learning that "while" means "so long as".

Norscode removes one of the two obstacles. You are left with what is actually hard — thinking in a structured way — without a layer of translation in the way.

Readability is not decoration

A program is read far more often than it is written. When the keywords are in the same language as the comments, the variable names, and the conversation around the coffee machine, a small point of friction disappears every single time someone reads the code. hvis konto.saldo < 0 can be read aloud, by anyone, without mental translation.

Not instead of English

Learning Norscode first does not mean opting out of English. The concepts — function, condition, loop, exception — are the same regardless of language. Someone who has understood a mens loop in Norscode recognizes a while loop in Python right away. The mother tongue is an entry point, not a dead end.

We believe there is room for a language that meets people where they are. Norscode is our attempt to build it.

Not instead of English, but before

A common objection is that developers must know English anyway. That is true — and Norscode is not meant to change it. The point is the order. Someone who encounters programming for the first time in their mother tongue learns the structure without a foreign language in the way, and stands stronger when English comes. The concepts are the same; it is only the entry point that is easier.

Readability for a whole team

Norwegian syntax is not only about beginners. On a team where not everyone is equally confident in English, it makes the code accessible to more people. Everyone can read hvis konto.saldo < 0 aloud and understand it, without mental translation. Code that is easy for more people to read is code that gets better maintained.

A language with an attitude

That the keywords are Norwegian is part of a larger idea: that tools should meet people where they are. The same goes for the error messages, the documentation, and the examples here. We believe there is room for a language that does not take for granted that everyone thinks best in English — and Norscode is our attempt to build it.

Related

Back to the overview