devxlogo

Use the Shortest Variables

Use the Shortest Variables

Use the shortest data type you can for variables. If you’re going tobe counting in a loop from 1 to 10, for instance, use an Integer not aDouble.

devx-admin

Share the Post: