Saturday, December 22, 2018
'Researching Variable Naming Rules Visual Essay\r'
'You provokeââ¬â¢t enforce a space, period (.), ecphonesis mark (!), or the characters @, &, $, # in the name. You must put on a letter as the first character.\r\nYou idlerââ¬â¢t use whatever names that atomic number 18 the same as the functions, statements, and methods. The name canââ¬â¢t exceed 255 characters in length.\r\nYou canââ¬â¢t repeat names at heart the same level of scope.\r\nPython\r\nThere ar some reserved words which you cannot use\r\nOther characters can be letters, metrical composition or _\r\nCase Sensitive\r\nmoldiness flummox with a letter (a â⬠z, A â⬠B) or underscore (_)\r\nCan be any (reasonable) length\r\nJava\r\nCannot dismay with a number\r\nMust begin with a letter (a â⬠z, A â⬠B) or underscore (_)\r\nCan be any (reasonable) length\r\nUppercase characters atomic number 18 pellucid from lowercase characters.\r\nSimilarities & Differences\r\nSimilarities in the manner of speakings atomic number 18 that their v ariables should be made up of alphameric characters. another(prenominal) similitude is they should refrain from development most symbols. A third similarity is each has reserved words that the language uses for its own purposes. A difference is that they atomic number 18 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 opthalmic basic is not.\r\n'
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment