Programmers are often not real thoughtful on how the abbreviate things. As an example, I recently received the following warning when compiling some existing code:
The variable 'sEx' is declared but never used
for the uninitiated, a variable is a kind of name for things in a computers memory. You can think of variables like labels for boxes that "stuff" gets put in. In this case someone created a label but never put it on a box.
We often use abbreviations when we are creating labels or a kind of short hand so that we remember what goes in them without creating a really long name for each box. In this case the box was to store something we call an exception (an error, really) and it is one of the Standard Exceptions we deal with hence standard Exception = "sEx".
Anyway, reminds me of teenage boys bragging . . . (declared but never used, lol)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment