logoalt Hacker News

atomfingeryesterday at 4:35 PM1 replyview on HN

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

Replies

skrebbelyesterday at 7:10 PM

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