Regarding R and its soundness (in the general colloquial sense), here's something that bothers me about it (scope leakage):
> if ("blah" == "blah") {
y = 2
x = y + 2
} else {
x = 1
}
> x
4
> y
2
I really wish what I introduce in my blocks would stay in my blocks...