Live data from Hacker News

Brunost: The Nynorsk Programming Language

lindbakk.com

21–30 of 75 posts

Re: Brunost: The Nynorsk Programming Language

#22

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.

Most of the source code for the Norwegian welfare system is published openly on https://github.com/navikt (4K repos)

Re: Brunost: The Nynorsk Programming Language

#24
post #10

> 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…

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

> What do you know about Bokmål being more prestigious in the past?

Having grown up in Norway and seen first hand how it was treated that way.

> You don’t respect the other form enough to cognize that it exists.[1]

I don't like Nynorsk, sure, but that has zero relevance to the point I made, which was if anything a point of contention for those who do like Nynorsk for decades, and a subject of intense activism.

EDIT: You seem to think that I am suggesting that makes one better than the other, or that it should be that way. Neither is the case - there's a reason I wrote "That's thankfully changed". But it was very much the case up until at least the 1980's that Bokmål was treated more favourably than Nynorsk in all kinds of contexts. E.g. companies expecting communication with customers should be done in Bokmål, for example, was an actual thing.

Re: Brunost: The Nynorsk Programming Language

#25
post #8

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.

This is equal parts brilliant and demented. Thank you.

  syöte olkoon vakiosyöte

  yritä
    tee syötteen kullekin alkiolle:
      käsittele(alkio)
  paitsi poikkeustilanteessa liukulukuylivuoto:
    kirjoita(virhetulosteeseen, "liukulukuylivuoto")
  muutoin:
    kirjoita(virhetulosteeseen, "odottamaton poikkeus")

Re: Brunost: The Nynorsk Programming Language

#27
post #8

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.

Like a more devious Lingua::Romana::Perligata?

https://metacpan.org/dist/Lingua-Romana-Perligata/view/lib/L...

Re: Brunost: The Nynorsk Programming Language

#28
post #9
post #5

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.

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…

I once had some Norwegian room mates in Ireland, and whenever we collectively couldn't find the proper English word, we usually got lucky with our native tongues. When listening to Scandi TV series, I'm still surprised more than I should be by the occasional match (recently: suddenly -> "plutselig", similar to German "plötzlich").

Now, as for the Danish room mate, he might as well have been speaking Greek.

Re: Brunost: The Nynorsk Programming Language

#30
post #26

Slightly off topic. "Now, the keyword fast here is saying that the variable fart cannot be changed - it is immutable" So would this be the same 'fast' as you'd find in 'steadfast' or as in stuck?

Yes. And as in fastness (which would be «fastheit» in Nynorsk): https://www.etymonline.com/word/fastness
Post reply on HN