Saturday, May 18, 2019

Researching Variable Naming Rules Visual Essay

You brush offt use a space, period (.), exclaiming mark (), or the characters , &, $, in the name. You must use a letter as the first character.You cant use any names that ar the same as the functions, statements, and methods. The name cant exceed 255 characters in length.You cant repeat names within the same level of scope.Python in that respect are some reserved words which you cannot useOther characters can be letters, numbers or _Case SensitiveMust begin with a letter (a z, A B) or underscore (_) nates be any (reasonable) lengthJavaCannot begin with a numberMust begin with a letter (a z, A B) or underscore (_)Can be any (reasonable) lengthUppercase characters are distinct from lowercase characters.Similarities & DifferencesSimilarities in the vocabularys are that their variables should be made up of Alphanumeric characters. Another similitude is they should refrain from using most symbols. A third similarity is each has reserved words that the language uses for its own purposes. A difference is that they are not all case sensitive. Another difference is not all of them use the same reserved words for functions and methods. A third difference is Java and Python are platform independent while visual basic is not.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.