IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Globals, write once run everywhere, whats wrong with that?
Trouble with programmers is that they define on the fly with no sensual objective of what huge bucket of crap they are not documenting. Engineers write small modular pieces and generally understand what machine code is and which way the solder drips. Pogrommers are rapid typists writing the great american novel and are surprised when the 2 record database they tested on doesnt behave the way the 200 kajillion records in the production environment.
All present company excepted of course and a couple of my buds.
thanx,
bill
."Once, in the wilds of Afghanistan, I had to subsist on food and water for several weeks." W.C. Fields
New There globals and there are Globals.
That is, there globals that stick around for the life of the application and then there are "global" variables within a module with a short lifespan. CGI and web script programming is like that: it's easy to use "global" variables in PHP, but they die when the page is finished. So they only have a short lifespan, unlike global variables in more traditional languages (like C). PHP's equivalent is called session variables, but you have to make a special call to convert a global variable into a session variable. This encourages some discipline.

Despite it's other flaws, Visual BASIC was like this. Truly global variables required additional declarations, as did mere module-wide variables. Unfortunately, there was a compile-time option to disable this requirement.

Myself, I dislike long-lived, volitale global variables. If I find myself about to use them, I tend to stop and try to fix whatever's broken to require them. Not always possible, note, but I try.

Wade.

"Ah. One of the difficult questions."

     Taking Pride in One's Work/Doing a Good Job - (gdaustin) - (47)
         Yep - (tuberculosis) - (30)
             So, you hate Java, eh? - (gdaustin) - (29)
                 IIRC, Todd likes ObjectiveC. -NT - (Another Scott)
                 Re: Who writes crap like this? - (mmoffitt) - (3)
                     Re: Who writes crap like this? - (deSitter)
                     Globals, write once run everywhere, whats wrong with that? - (boxley) - (1)
                         There globals and there are Globals. - (static)
                 Java - (tuberculosis) - (2)
                     Wow - (deSitter)
                     Crazy Idea - (deSitter)
                 Ob JDBC - (tuberculosis) - (14)
                     Not exposing the "structure" of the database - (gdaustin) - (13)
                         Re: Not exposing the "structure" of the database - (tuberculosis) - (12)
                             Average Crud App - (gdaustin) - (11)
                                 Not like Clipper! - (tuberculosis) - (8)
                                     I'm Amazed - (gdaustin) - (7)
                                         (Mis)Management - (tuberculosis) - (6)
                                             Re: (Mis)Management - (gdaustin)
                                             This is an easy one - (orion)
                                             Sales skills. - (static) - (1)
                                                 Yeah well there's a problem here - (tuberculosis)
                                             Fear factor - (boxley) - (1)
                                                 Yeah sort of like that - (orion)
                                 VB can create crud apps too - (orion) - (1)
                                     Wrong crud... - (admin)
                 I also hate Java ... - (bluke) - (5)
                     Re: I also hate Java ... - (deSitter)
                     Blanchard's Law - (tuberculosis)
                     Hate Java? - (wharris2) - (2)
                         I hate Java because of what it represents - (bluke)
                         I have to agree. - (tseliot)
         FWIW - not just in IT. - (Ashton)
         Heh. - (mmoffitt)
         Everytime... All the time... and not only when convienient.. - (folkert) - (2)
             The Fast Food theory - (orion)
             What you need to tell her... - (ben_tilly)
         Welcome to the real world - (orion)
         Working 60+ hours a week and not getting paid overtime - (orion) - (1)
             Norm Fix'd the title for HREF... Thx!!! -NT - (folkert)
         My career has followed the exact opposite trajectory. - (marlowe)
         I run the IT ver of a roach coach on a construction site - (boxley)
         Fix the formatting - (wharris2) - (5)
             It used to be Norm's Post with the LONGUNBREAKABLE LINE - (folkert) - (2)
                 It was the long URL - (orion) - (1)
                     You should always post links that way, anyway. -NT - (static)
             Re: Fix the formatting - (gdaustin) - (1)
                 Re: Fix the formatting - (folkert)

Cloaca Cola... oh, that was sooo good.
55 ms