3 ms·
I always felt that true "scripting" with a "scripting language" was two things: 1) Most of your functions were linear: low cyclomatic complexity. 2) Functions r
by pbw 2y ago
I always felt that true "scripting" with a "scripting language" was two things:
1) Most of your functions were linear: low cyclomatic complexity.
2) Functions rarely called into other functions.
While "programming" moves away from both of those:
1) Higher cyclomatic complexity is allowed.
2) Functions frequently call into other functions.
For instance, I like bash only for scripting. The moment it starts to resemble programming, I tend to switch to Python. However, some people are fine doing a fair amount of "programming" in bash, people who know it really well.