this post was submitted on 27 Mar 2025
33 points (100.0% liked)
Out of the loop
12447 readers
1 users here now
A community that helps people stay up to date with things going on.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Well it makes testing very different and also the act of accessing and changing data in the global scope can cause much havoc as a programmer always need to have the entire program in mind and not just the function they are working on.
That's the sharp contrast e.g. it makes organising and working on code bases easier.