But I honestly think if devs learned like that, then shit would be less complicated. We wouldn't be using a lot of enterprise patterns that were just blindly accepted as "the way". We're just overcomplicating most things.
But I honestly think if devs learned like that, then shit would be less complicated. We wouldn't be using a lot of enterprise patterns that were just blindly accepted as "the way". We're just overcomplicating most things.
Ok if you're a junior at a company, don't go wild & piss off coworkers if there's an agreed way of writing code.
In personal projects go wild. There are devs with 3 months experience terrified of globals because everyone told them it's bad. Experiment. Try everything.
Ok if you're a junior at a company, don't go wild & piss off coworkers if there's an agreed way of writing code.
In personal projects go wild. There are devs with 3 months experience terrified of globals because everyone told them it's bad. Experiment. Try everything.
I've mostly built web stuff too. Definitely not saying to make everything global, but even in huge projects, there are places where some global state can just save you some headache.
I've mostly built web stuff too. Definitely not saying to make everything global, but even in huge projects, there are places where some global state can just save you some headache.