🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rocksolid.nodes.announce
Article #254

Global vars

#254
From: Anonymous
Date: Sun, 07 Jun 2020 13:27
8 lines
1061 bytes
>I believe there was a problem with global variables (I use way too many of them). 

I just read up now about global vars and why it is (apparently) a bad idea to use them.
Never used them myself, but just because the code and tutorials I used to learn me some php did not use them (so more by chance, really).
Can understand though why you would use them, because they are really convenient.

-- 
Posted on def2.i2p
Technical Details
Message-ID: <na.541.ueqd9@anon.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mail
References: <na.220.3vqavx@anon.com>

Show Full Headers
Complete Article Headers
Message-ID: <na.541.ueqd9@anon.com>
Subject: Global vars
Date: Sun, 07 Jun 2020 06:27:55 -0700
From: Anonymous <poster@anon.com>
References: <na.220.3vqavx@anon.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mail
Newsgroups: rocksolid.nodes.announce
Organization: i2pn2 (i2pn.org)
Content-Type: text/plain; charset=UTF-8
Injection-Info: i2pn2.org; posting-account="def2";
 logging-data="14389"; mail-complaints-to="usenet@i2pn2.org"