Loading video...

Video Failed to Load

Go Home

My Global Variables Rant

71,824 views • 1 year ago •via X (Twitter)

11 Comments

ᴛᴏʟʟʏ ( ͡° ͜ʖ ͡°)'s profile picture
ᴛᴏʟʟʏ ( ͡° ͜ʖ ͡°)1 year ago

no bathrobe, opinion disregarded

Health Policy Watch - Global Health News Reporting's profile picture
Health Policy Watch - Global Health News Reporting1 year ago

The federal agency responsible for protecting the environment in the US will stop requiring most polluters to report their emissions of carbon dioxide, methane and other greenhouse gases that cause #climatechange. ✍️@stefancanderson @propublica

Dave Goehrig's profile picture
Dave Goehrig1 year ago

I have pointed this out for over 20 years. To the CPU there is no such thing as globals or locals, both only exist in the mind of the programmer. They are just places in memory.

Tung Tung Tung Tung Tung Sahur's profile picture
Tung Tung Tung Tung Tung Sahur1 year ago

That's right, that's why I just use ENV variables.

Saloni's profile picture
Saloni1 year ago

okay global variables are not tht global … (this legit made me think for awhile :)

fghfgh's profile picture
fghfgh1 year ago

Your vars are not global enough. I store all mine on the blockchain.

Carl(it)os Capote 🇮🇨's profile picture
Carl(it)os Capote 🇮🇨1 year ago

In C, a "global" variable has a logical scope. But if you think of toy languages as JavaScript in the browser, "global" has almost literally the same meaning as in "global warming". 🤣

Uncertain Systems (e/acc)'s profile picture
Uncertain Systems (e/acc)1 year ago

U r only missing a bathrobe!

finc0de's profile picture
finc0de1 year ago

How you achieve a program that is correct, simple, and efficient (in that order) is up to you. When you do discover the most elegant solutions, they tend to roughly align with all the classic design principles and patterns.

digital joseph's profile picture
digital joseph1 year ago

Totally agree. 👍🏻

flowstate's profile picture
flowstate1 year ago

@NASA doesn't approve that to be used in their codebase

Related Videos