Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

My Global Variables Rant

71,824 Aufrufe • vor 1 Jahr •via X (Twitter)

11 Kommentare

Profilbild von ᴛᴏʟʟʏ ( ͡° ͜ʖ ͡°)
ᴛᴏʟʟʏ ( ͡° ͜ʖ ͡°)vor 1 Jahr

no bathrobe, opinion disregarded

Profilbild von Health Policy Watch - Global Health News Reporting
Health Policy Watch - Global Health News Reportingvor 1 Jahr

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

Profilbild von Dave Goehrig
Dave Goehrigvor 1 Jahr

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.

Profilbild von Tung Tung Tung Tung Tung Sahur
Tung Tung Tung Tung Tung Sahurvor 1 Jahr

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

Profilbild von Saloni
Salonivor 1 Jahr

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

Profilbild von fghfgh
fghfghvor 1 Jahr

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

Profilbild von Carl(it)os Capote 🇮🇨
Carl(it)os Capote 🇮🇨vor 1 Jahr

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". 🤣

Profilbild von Uncertain Systems (e/acc)
Uncertain Systems (e/acc)vor 1 Jahr

U r only missing a bathrobe!

Profilbild von finc0de
finc0devor 1 Jahr

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.

Profilbild von digital joseph
digital josephvor 1 Jahr

Totally agree. 👍🏻

Profilbild von flowstate
flowstatevor 1 Jahr

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

Ähnliche Videos