Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
worst variable name
(Apr-21-2017, 07:22 AM)idontreallywolf Wrote: Why Would data be a "bad" variable name?

i guess it depends on the context. in a small function where unknown data is being passed along or buffered with no concern of what is in it and it is the only instance of data, then it is probably ok.  in a big application with lots of data in lots of variables, it can be confusing.
volcano63 likes this post
FIVE. Because somewhere someone did FIVE=8
metulburr and volcano63 like this post
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
(Apr-22-2017, 01:03 PM)Ofnuts Wrote: FIVE. Because somewhere someone did FIVE=8

or true=False ... seen it.

Top Page

Forum Jump:

Users browsing this thread: 1 Guest(s)