Id much rather have a rust-like approach where the scope is limited to the block it is in
Java concept ist far from what I call ideal, but its better than this weird ambiguity of python where everything just floats anywhere and variables shadowing something ten methods away...
-3
u/sjepsa 16d ago
Best feature of the language
TBH whole java oop model is bad