Comment on Which programming language is hard to understand?

<- View Parent
Pyroglyph@lemmy.world ⁨11⁩ ⁨months⁩ ago

helloWorld : '{IO, Exception} () helloWorld _ = printLine “Hello World”

I don’t think it’s useful to hyper-optimize for Hello World

I agree. I was more referring to the various symbols which don’t appear to have a clear purpose. They raise questions for me. Here are some of them:

I’m aware that you can just look these things up, but there’s at least 4 mildly confusing things in something that is rather simple in every other language.

Take Rust for example. I’ve heard people say it’s complex, yet it’s printline still simple:

println!("Hello");

Coming at this with the same lens, the only mildly confusing thing is the !.

I’m not saying “how Hello World is written is the be all and end all of language complexity”, but for a task that’s so simple in basically every other language to look like that in Unison, it just doesn’t fill me with confidence for the friendliness rest of the language.

source
Sort:hotnewtop