正在加载视频...

视频加载失败

My Global Variables Rant

71,824 次观看 • 1 年前 •via X (Twitter)

11 条评论

ᴛᴏʟʟʏ ( ͡° ͜ʖ ͡°) 的头像
ᴛᴏʟʟʏ ( ͡° ͜ʖ ͡°)1 年前

no bathrobe, opinion disregarded

Health Policy Watch - Global Health News Reporting 的头像
Health Policy Watch - Global Health News Reporting1 年前

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 的头像
Dave Goehrig1 年前

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 的头像
Tung Tung Tung Tung Tung Sahur1 年前

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

Saloni 的头像
Saloni1 年前

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

fghfgh 的头像
fghfgh1 年前

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

Carl(it)os Capote 🇮🇨 的头像
Carl(it)os Capote 🇮🇨1 年前

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) 的头像
Uncertain Systems (e/acc)1 年前

U r only missing a bathrobe!

finc0de 的头像
finc0de1 年前

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 的头像
digital joseph1 年前

Totally agree. 👍🏻

flowstate 的头像
flowstate1 年前

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

相关视频