Live data from Hacker News

Brunost: The Nynorsk Programming Language

lindbakk.com

61–70 of 75 posts

Re: Brunost: The Nynorsk Programming Language

#61
post #28
post #9

Earlier quoted context omitted.

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.

I studied in Trondheim for a semester and learned some Norwegian. Whenever I didn't know a word, I just pronounced the Dutch or English word in a 'Norwegian way'. Most of the time people didn't even blink. So much so that I'd then ask them if the word I just used existed and invariably the answer was that that was the correct word.

Re: Brunost: The Nynorsk Programming Language

#62

I understand "fast fart er 80" and it makes sense, but I think present tense "er" for mutable variables is super weird, and implies functional semantics in an imperative world. Like eg this: endreleg fart er 80 This is weird! It can change but it is 80? Was it already? Will it forever? Should that maybe be "blir" instead? (pardon my nonexisting Nynorsk, I'm extrapolanorsking from Danish "bliver") Eg: endrelig fart bl…

I have actually changes this in a newer version of the language. Now it is "låst" and "open", as in: låst fart er 80 open fartsgrense er 110 Mostly because the length difference between "endreleg" and "låst" triggered me.

Yeah but my beef is not with “endrelig” but with “er”.

Re: Brunost: The Nynorsk Programming Language

#63

Earlier quoted context omitted.

I have actually changes this in a newer version of the language. Now it is "låst" and "open", as in: låst fart er 80 open fartsgrense er 110 Mostly because the length difference between "endreleg" and "låst" triggered me.

Yeah but my beef is not with “endrelig” but with “er”.

Ah.

I don't disagree with you per se, but I think we can look at it another way: See assignments as statements of fact. The sky is blue. Himmelen er blå.

aka himmelen er blå. A statement of fact.

Also, "blir" becomes yet another keyword. More keywords, more to remember. Not that this has been a real consideration or worry in Brunost so far. The design so far is very much "What I felt was okay that day".

I do agree with the fact that this reads nicely:

  open fart er 80
  fart blir 50

Re: Brunost: The Nynorsk Programming Language

#67

Earlier quoted context omitted.

Yeah but my beef is not with “endrelig” but with “er”.

Ah. I don't disagree with you per se, but I think we can look at it another way: See assignments as statements of fact. The sky is blue. Himmelen er blå. aka himmelen er blå. A statement of fact. Also, "blir" becomes yet another keyword. More keywords, more to remember. Not that this has been a real consideration or worry in Brunost so far. The design so far is very much "What I felt was okay that day". I do agree wi…

> See assignments as statements of fact.

This makes sense in functional languages where variables can't change, but not in imperative languages like Brunost. When a fact changes halfway the story, it wasn't much of a fact. Himmelen er blå, inntil den blir rosa.

I too like your final example.

Re: Brunost: The Nynorsk Programming Language

#68

"endreleg"? Are you sure that word is in your own nynorsk dictionary?

I have actually changed this since the post's release. I got annoyed that "fast" and "endreleg" have different numbers of characters (regardless of whether endreleg is nynorsk. I got a 2 in Nynorsk in school, so........) Now it is "open" and "låst". As in: - Variabelen er open for endringer. - Variabelen er låst for endringer.

Bonus points for requiring 'å' to program in Brunost.

Re: Brunost: The Nynorsk Programming Language

#69
post #53
post #28

Earlier quoted context omitted.

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.

In Norway, Danish is sometimes subjected to friendly ridicule as sounding like Norwegian spoken with a potato in your mouth... Danish is if anything ever so slightly closer to German in vocabulary and grammar, but the pronunciation is another matter. The effect is bigger in writing. In high school I worked my way through Faust in German by finding an old Danish translation as a parallel text - the old Danish version…

> In Norway, Danish is sometimes subjected to friendly ridicule

Case in point:

https://www.youtube.com/watch?v=ykj3Kpm3O0g

Post reply on HN