|
raddevus wrote: Because the original dev didn't understand anything he created every variable as a global.
Oh, you poor, poor soul! I can only imagine the cuss-fest! I'd be right there cussing with you! Blame that on HR hiring incompetents! Unless it was created by the owner of the company, then you'd best polish your resume!
|
|
|
|
|
David O'Neil wrote: Unless it was created by the owner of the company, then you'd best polish your resume!
Yeah, it is a tough one. The company I work for was a "Startup" back in '98 or so and basically hit the ground running. Owner hired a "friend who could program" and so a lot of crazy stuff was created.
Slowly we are getting rid of it, but of course it is like changing the wings while flying.
|
|
|
|
|
Stop using Python and rediscover inner peace?
Just a thought!
|
|
|
|
|
Super Lloyd wrote: Stop using Python and rediscover inner peace?
I agree. but it goes back to the fact that lots of Python libraries have arisen out there that let you import and call a function and it does everything for you.
It's like candy for kids. They know they should eat nutritional food, but they keep coming back to candy.
|
|
|
|
|
Globals have a place.
Right next to GOTO.
|
|
|
|
|
Or even ...
def printGlobal():
print(str(extra))
extra = 35
printGlobal()
extra = "Python are stupid."
class Arsinine:
def __init__(self):
printGlobal()
a = Arsinine()
|
|
|
|
|
Exactly! More proof that globals are terrible and cause confusion.
But, I'm sure the Genius-Global-Creating-Devs* can keep track of them in their minds.
*Was a good example of this a soft troll?
|
|
|
|
|
|
Cp-Coder wrote: get a Kindle They are not immune to viruses.
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
Cp-Coder wrote: What is wrong with people stupid enough This pandemic has brought the stupid out in a lot of people. The most obvious, in my opinion, are those claiming not wearing a mask is the same as murder.
Some would say microwaving to disinfect might be resourceful.
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
After reporting this story, microwaving of library books grows by 1000% as bored lock-ins get ideas.
|
|
|
|
|
Try a cfl lightbulb!
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
Clearly people is stupid... they should stab the book with a wood stick and put it into the bonfire along with some marshmallows...
|
|
|
|
|
Cp-Coder wrote: get a Kindle or something! Those won't survive the microwave either
|
|
|
|
|
Shhhhhhhhh! Don't cancel the video entertainment orders.
|
|
|
|
|
Put some ketchup on them and they're quite tasty though.
Jeremy Falcon
|
|
|
|
|
|
Should aggressive fishermen attend Angler Management Therapy?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
The social workers are trawling for clients again.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Some of us have hair rig triggers, and the slightest thing makes our blood boilies, it's a reel problem for some.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
You really seem to be hooked on these barbs - and I'm easily lured into replies.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
As TOTD go this one is pretty fly!
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
Another case of "spare the rod, spoil the child".
|
|
|
|
|
The title says it all. The reddit FAQ didn't cover this.
|
|
|
|
|
Why not ask reddit? At a guess you are not authorised to post, or not logged in.
|
|
|
|