Live data from Hacker News

Brunost: The Nynorsk Programming Language

lindbakk.com

31–40 of 75 posts

Re: Brunost: The Nynorsk Programming Language

#31
post #6

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

This is the kind of quality response that makes HN great.

Yeah, this is HN at its peak, commentary on a Norwegian based programming language in English :D

Re: Brunost: The Nynorsk Programming Language

#32
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.

And with all the maths in balanced ternary

Re: Brunost: The Nynorsk Programming Language

#33

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)

It is a lot of good code there.

Re: Brunost: The Nynorsk Programming Language

#34
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, exactly - same Germanic root. "Fast" in Scandinavian languages means firm/fixed/stuck, which is also the original meaning in English (as in "hold fast", "steadfast", "fasten"). The "quick" meaning in English is actually the newer one, derived from the idea of being "stuck" on a course.

Re: Brunost: The Nynorsk Programming Language

#35
post #24

Earlier quoted context omitted.

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

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

In Oslo.

> I don't like Nynorsk, sure,

That’s not what respect or disrespect is about.

> but that has zero relevance to the point I made,

No. The relevance is what I stated, in the next sentence that you did not quote.

> which was if anything a

What I questioned was its truthfulness. Not what kind of person would say it.

> You seem to think that I am suggesting that makes one better than the other, or that it should be that way.

I did not state or think that you were making a normative statement.

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

Being used more including being dictated from some top-down direction does not necessarily have anything to do with prestige and could be entirely prosaic.

Re: Brunost: The Nynorsk Programming Language

#36
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.

However if you asked your Danish roommate to write down what he said it would make perfect sense.

Re: Brunost: The Nynorsk Programming Language

#37
post #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

[deleted]

Re: Brunost: The Nynorsk Programming Language

#39

"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.

Re: Brunost: The Nynorsk Programming Language

#40

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

This tickles me:

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

Might even consider adding that.

I have renamed the "endreleg" since the article release to "låst" and "open".

The thought process was:

- Variabelen er låst for endringer.

- Variabelen er open for endringer.

But I really like the "alltid" suggestion.

Post reply on HN