3 ms·
Not a technical counter argument, but surely this is a trifle in the grander scheme of things? The hard things about programming, such as modularization at a hi
by kqr 6y ago
Not a technical counter argument, but surely this is a trifle in the grander scheme of things? The hard things about programming, such as modularization at a high level and verification of user input, are orders of magnitude more important than quirks like these?
(And if we broaden our view to include more of software engineering in general, like solving the right problems and validating hypotheses with fast feedback, it seems even more insignificant.)
- lmm 6y agoPoor syntax or surface-level semantics make a language exponentially harder to use, because every layer of your program becomes more difficult. You have to make your modules smaller which means you have to split them up more and have more interfaces between them. Etc.
- Blikkentrekker 6y agoBut block scope is all about modularization and ensuring that parts of the program that need not interact do not interact. Python code seems to either be written from a mentality of not at all caring about variable lifetime and making it far longer than it should be, or programmers that do care, and uses classes and functions as makeshift tools to attempt to limit the lifetime of variables to make up for the lack of block scope of the language.