List of commits:
Subject Hash Author Date (UTC)
Update Naming Convention.md 606049c713b804956cc4f3c9a2700887125dc3e3 Poonam Veeral 2020-04-09 16:29:16
Update Naming Convention.md e2d70be8c8cf05c10be7194f5a86ad84a71dcba2 Poonam Veeral 2020-04-09 16:27:09
Update Naming Convention.md b297f088e45d4cab3bca47272eb5d7d283997815 poonamveeral 2020-04-09 16:16:43
Update Naming Convention.md 562ba67f4338884279c312eddf7fd1688d314da3 Poonam Veeral 2020-04-09 16:16:01
Update Naming Convention.md fa669e84e04edadb029e834caedf56223b897fe0 Poonam Veeral 2020-04-09 16:09:31
Update Naming Convention.md 12eb5e6aea619c56222817878567db2e23aacc41 Poonam Veeral 2020-04-09 16:05:26
Update Naming Convention.md d39a8ec969e2d9023dfa75e39aadd537ef3c79e3 Poonam Veeral 2020-04-09 16:02:16
Naming Convention Updated 2ba945dc245814e8cc0641482b053c953e65e779 Poonam Veeral 2020-04-09 15:51:43
Update lectures_notes.md d62f8789a67b025a618b2047c6bbaa912e617834 Poonam Veeral 2020-04-08 19:00:25
update 6fd8bae9a3068318513bb261f79a0a07d3c87f17 Poonam Veeral 2020-04-08 15:37:39
Update lectures_notes.md be9ca4670f042e27dfd60082cf0b081401dc072d poonamveeral 2020-04-08 14:29:08
Rename Print.tex to print.tex 8a2253b100e8fb661c03e410e61c87e6e0dd768a poonamveeral 2020-04-08 13:45:56
Rename alt_Not_03.tex to alt_not_03.tex ab653337fe4266a333d22178c33bd5d5c3ca3613 poonamveeral 2020-04-08 13:37:09
Rename alt_Not_02.tex to alt_not_02.tex a79c527d3aa97f29fa835406eb2fd6bfca80e616 poonamveeral 2020-04-08 13:36:52
Rename alt_Not_01.tex to alt_not_01.tex ce6ec02b5543682869d3dd782576e6a7c27cf5b5 poonamveeral 2020-04-08 13:36:36
Update lectures_notes.md 3d3106fe10b24fcccedbdcc6c20c1d7a4c3e0801 poonamveeral 2020-04-08 13:31:56
Rename book_Exo.tex to book_exo.tex 2fc98bb8f1b8dc8793fe1d9eaae4babeff760624 poonamveeral 2020-04-08 13:25:08
updated a080901830e9ef778e099d2cbf06d37af41e880e Poonam Veeral 2020-04-08 13:15:26
er updated 69bb6e5cfd8f31c5347d8b6b6e9e3a4e5ef6580c Poonam Veeral 2020-04-08 12:51:37
er deleted 3543da66bdd8adff409cf79707fb11584b490f67 Poonam Veeral 2020-04-08 12:41:23
Commit 606049c713b804956cc4f3c9a2700887125dc3e3 - Update Naming Convention.md
Author: Poonam Veeral
Author date (UTC): 2020-04-09 16:29
Committer name: Poonam Veeral
Committer date (UTC): 2020-04-09 16:29
Parent(s): e2d70be8c8cf05c10be7194f5a86ad84a71dcba2
Signer:
Signing key:
Signing status: N
Tree: 1496d3420fcd7892e2418861032d77b89ec04a28
File Lines added Lines deleted
Naming Convention.md 7 7
File Naming Convention.md changed (mode: 100644) (index ffeb332..04d205c)
35 35 | Example | FileName01.java | FileName02.java | | Example | FileName01.java | FileName02.java |
36 36 | ----------- | --------------- | --------------- | | ----------- | --------------- | --------------- |
37 37
38 * Classes and Interfaces Names
38 * *Classes and Interfaces Names*
39 39 * Class and interface names are generally noun or noun phrases. * Class and interface names are generally noun or noun phrases.
40 40 * Class and interface must begin with a capital letter. * Class and interface must begin with a capital letter.
41 41
 
45 45 |Class Example | class FishBowl implements AqueousHabitat { ... } | |Class Example | class FishBowl implements AqueousHabitat { ... } |
46 46 | -------------------- | ------------------------------------------------ | | -------------------- | ------------------------------------------------ |
47 47
48 * Method Names
48 * *Method Names*
49 49
50 50 * Method names generally begin with a lowercase letter. * Method names generally begin with a lowercase letter.
51 51 * A call on a procedure is a statement to do something, so a procedure name is generally a verb phrase that is a command to do something. * A call on a procedure is a statement to do something, so a procedure name is generally a verb phrase that is a command to do something.
 
62 62 | Example | public boolean isEquilateralTriangle(int b, int c, int d) { ... } | | Example | public boolean isEquilateralTriangle(int b, int c, int d) { ... } |
63 63 | -------------------- | ------------------------------------------------ | | -------------------- | ------------------------------------------------ |
64 64
65 * Variable Names
65 * *Variable Names*
66 66
67 67 * Variable names generally start with a lowercase letter. * Variable names generally start with a lowercase letter.
68 68 * Variable names should give the reader some hint about what the variable is used for. * Variable names should give the reader some hint about what the variable is used for.
 
71 71 * There is a tension between writing long descriptive names and very short names. * There is a tension between writing long descriptive names and very short names.
72 72 * We tend to use shorter names for parameters and local variables and longer names for fields and static variables. * We tend to use shorter names for parameters and local variables and longer names for fields and static variables.
73 73
74 * Parameter Names
74 * *Parameter Names*
75 75 * Parameter names may be short, even one letter long. * Parameter names may be short, even one letter long.
76 76 | Example | public boolean isEquilateralTriangle(int b, int c, int d) {return b == c && c == d;} | | Example | public boolean isEquilateralTriangle(int b, int c, int d) {return b == c && c == d;} |
77 77 | -----------| ------------------------------------------------------------------------------------ | | -----------| ------------------------------------------------------------------------------------ |
78 78
79 * Local variable names.
79 * *Local variable names*
80 80 * A local variable is a variable that is declared in a method body. * A local variable is a variable that is declared in a method body.
81 81 * Its declaration should be placed as close to its first use as possible. * Its declaration should be placed as close to its first use as possible.
82 82 * The scope of a local variable is usually short, and its meaning is often obvious either from a comment on its declaration or from the short code in which it is used. Therefore, names of local variables may be short. * The scope of a local variable is usually short, and its meaning is often obvious either from a comment on its declaration or from the short code in which it is used. Therefore, names of local variables may be short.
83 83
84 * Fields and class (i.e. static) variables.
84 * *Fields and class (i.e. static) variables*
85 85 * The meaning of fields and class variables are typically given as comments by the declarations, far from where the variables are used. * The meaning of fields and class variables are typically given as comments by the declarations, far from where the variables are used.
86 86 * Therefore, the names of field and class variables should be longer and as mnemonic as possible, giving the reader a good idea what the meaning are. * Therefore, the names of field and class variables should be longer and as mnemonic as possible, giving the reader a good idea what the meaning are.
87 * Package names
87 * *Package names*
88 88
89 89 * Package names are usually all lowercase and consist of nouns. * Package names are usually all lowercase and consist of nouns.
90 90
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/caubert/CSCI_3410

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/caubert/CSCI_3410

Clone this repository using git:
git clone git://git.rocketgit.com/user/caubert/CSCI_3410

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main