Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

58% Positive

Analyzed from 925 words in the discussion.

Trending Topics

#norwegian#nynorsk#word#more#language#bokm#dialect#keywords#don#written

Discussion (16 Comments)Read Original on HackerNews

kingofmen•about 2 hours ago
What the devil kind of "Nynorsk" allows "kalkuler" in place of "beregn"? And as the other poster pointed out, 'endre' does not actually take the '-leg' ending to make an adjective; not in the written language at least. Your dialect may allow it but that hardly matters. Try 'foranderlig', although I do like the idea of using articles. However, as we have three articles but variability is binary, I suggest we assign 'en' (masculine, firm, rigid) to constants, 'et' (neuter, indecisive, wibbly-wobbly) to variables, and of course 'ei' (feminine) as referring only to collections, into which things may be inserted. That does leave us with the difficulty of how to declare a collection as constant; I suggest

`ei fylke er alltid ["Vestland", "Rogaland", "Troms", "Finnmark"]`

which on second thought suggests that we can just have `alltid` as a const-modifier on `er`. Simpler.

Another point to note is that Norwegian does not allow the Oxford comma; correct grammar is "Johan, Fredrik og Martin". To follow this rule you should require the last separator of a list to be 'og':

`ei fylke er alltid ["Vestland", "Rogaland", "Troms" og "Finnmark"]`

lrasinen•about 2 hours ago
This is the kind of quality response that makes HN great.
starefossen•35 minutes ago
If you have not tasted brunost you should definitely try it https://en.wikipedia.org/wiki/Brunost
kreyenborgi•about 3 hours ago
Funny :) but I think it would work better if the language not only required Nynorsk, but used Nynorsk and not BokmĂĄl for all keywords:

https://ordbokene.no/nob/nn/ellers

I think I also saw "ikke" in there.

And https://ordbokene.no/nob/nn/endreleg isn't a word in any language? The Nynorsk word for it is sadly just "variabel". To make it more interesting, you could require agreement, and instead of "endreleg fart", how about just using the indefinite article for things that are changeable since things that are changeable seem kind of indefinite:

    ei fart = 70
    eit smell = "bang"
    eit fag = "naturfag"
    ein slutt = "."
And of course

    forKvar fart
    forKvar slutt
but

    forKvart smell
    forKvart fag
And if you mess up the agreement you get a red squiggly line, and for every such your grade goes down from 6 and if it's less than 2 your program fails.
vidarh•about 1 hour ago
> One can make similar arguments about BokmĂĄl and Sami, but people speak Sami. And I would argue that a lot more people speak "pure BokmĂĄl" than Nynorsk.

Very, very few. I used to, as a side effect of being quite asocial and reading a lot as a child, and reinforced by my dads very conservative dialect for western Oslo despite where we were living (half an hour drive out the other side of Oslo; dialects in Norway are very local - in that span you pass through at least one other dialect area). The dialect differences were significant enough that an exchange student in high school who was speaking close to perfect Norwegian toward the end of the year still struggled to understand me.

But even then, I adopted more and more of the regional dialect over time. Unless you're a hermit it's hard not to. And there are basically no place in Norway where the local dialect is pure BokmĂĄl.

There might well be more people who can switch to speak pure BokmĂĄl than Nynorsk, though, because it is the primary written language of far more people, and so its the easiest to slip into if you want to speak "formal" Norwegian. This was more pronounced before, when there was a tendency to see the written languages, and especially BokmĂĄl, as more prestigious, and so you might hold a speech in BokmĂĄl instead of your own dialect, TV presenters favoured "pure" BokmĂĄl or Nynorsk instead of their dielcts etc. That's thankfully changed

keybored•29 minutes ago
What do you know about Bokmål being more prestigious in the past? You don’t respect the other form enough to cognize that it exists.[1] I don’t think that lends itself to a well thought out comparison.

[1] https://news.ycombinator.com/item?id=47072436

lrasinen•about 2 hours ago
One of these years I'm going to make a Finnish programming language that enforces the correct case in arguments. And I don't mean silly arguments like camelCase vs kebab-case, I mean grammar.

Some examples to illustrate:

  tiedosto on "foo.txt" avattuna
  tulostin on PRN1
  kirjoita(tiedostoon, "a")
  kirjoita(tulostimelle, "b")
Job security for DECADES.
Kaliboy•about 2 hours ago
After spending way too much time thinking about how I would program in a language I never heard about I realized that as a native Dutch speaker Nynorsk is fairly readable.

I'm sold.

vidarh•about 2 hours ago
As a Norwegian with passable German, written Dutch feels almost like just jumbling some letters around and adding unnecessary consonants... (Spoken Dutch, though, is entirely incomprehensible to me) The language continuum around the North Sea is fairly tight (more so if you consider Low German instead of standard German so you don't need to deal with the effects of the annoying High German consonant shift (think Dag -> Tag, Schip -> Schiff etc.))
thomasfl•about 1 hour ago
The brunost programming language could be very useful for norwegian government agencies. It is common to use norwegian names for variables and functions at the Norwegian Labour and Welfare Administration (NAV in Norwegian). A subset of typescript where the reserved words are written in nynorsk, would help prevent misunderstanding.
keybored•27 minutes ago
I don’t understand how having 65–100 keywords localized makes any difference. People can use these kinds of mixed registers for specific niches and it seems seamless to everyone.
n0rlant1s•about 1 hour ago
Spenstig!! Mangler bare "endeleg" i Exception handling :)
freekh•about 2 hours ago
As a fellow Norwegian and nerd I have always wanted to be better at Nynorsk. Maybe this is what I need to get better at it!
vidarh•about 1 hour ago
Word Basic back in the Word 95 days translated keywords.

The source was saved tokenized, so the program would have different keywords when loaded in different version of Word. I don't know if there was a Nynorsk version, but I presume there must have been.

(I once had a contract where I spent the first week sorting out problems caused by someone managing to move Word Basic from a Danish version of Word to a Norwegian version untokenised; the problem being of course that the Danish and Norwegian keywords had a lot of overlap, read just fine to a Norwegian reader, but there were differences and so everything broken and the original Word Basic files were not available to me so I couldn't just load that into Norwegian Word... Fun times. This was also the first time I had ever seen Word Basic, after confidently telling the recruiter that of course I knew it, as I was desperate to land the contract - in the end I finished ahead of time, so it was all good)

ivolimmen•about 1 hour ago
This was the reason I installed only the English version of windows and office. I do not like Dutch, even though it's my native tongue. I grew up with os and programming languages in English because translation was too expensive and I got used to it
vidarh•about 1 hour ago
Yeah, same thing for me. The article is funny, but I'd hate to actually use a language using non-English keywords.
wodenokoto•about 2 hours ago
“Fast” means firm or constant. “Fart” means speed.

The examples have nothing to do with quick flatulence.

ivolimmen•about 1 hour ago
But it was an intended joke...