|
|
|
|
|
by nymalt
1125 days ago
|
|
re famous Elm error messages. This one I got when I was learning Elm 4-5 years ago. Elm uses a different name for the “not equal” operator:
5| text "Hello!" != "balbla"
^^
Switch to (/=) instead.
Note: Our (/=) operator is supposed to look like a real “not equal” sign (≠). I
hope that history will remember (!=) as a weird and temporary choice.
Wondering if it is just me, or it really is passive-aggressive? It was the first red flag for me.upd: formatting |
|
Passive aggressive might be like this
"there are some languages that feel the need to use !=. They have the 'opinion' that this was a good idea, look at them. They are so cute trying to be a real language with such *interesting* design choices"