How come
const major = "Major";
const tom = "Tom";
const major_tom = major ++ " " ++ tom;
works but
const major = "Major";
const tom = "Tom";
const major_tom = major ++ ' ' ++ tom;
doesn't work? A space is a single character so I thought to use a character type instead of a double quotes
Even this
const major_tom = major ++ [_]u8{' '} ++ tom;
doesn't work. Why?
Why don't the last 2 solutions work? I (think I) understand why the first solution works and passes.