This is true but what’s odd is that Java has better functional programming support than Python.
[f(x) for x in xs]
I think you mean the slice syntax (`xs[5:7]`). I don’t see how this is a bad design choice, though.Java has immutable bindings with the final keyword.
Java variables are lexically scoped, which discourages mutation of globals.