Skip to content

Commit 75f3b28

Browse files
committed
classify
1 parent 157500e commit 75f3b28

8 files changed

+29
-0
lines changed
File renamed without changes.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#Class and Method Names
2+
3+
Class Names
4+
* Use noun or noun phrase names
5+
* Avoid words like manager,processor(Don't be a God object)
6+
7+
Method Names
8+
* Use verb or verb phrase names
9+
10+
:-1: bad
11+
```
12+
public class MakeAccount{
13+
14+
}
15+
16+
```
17+
:+1: good
18+
```
19+
20+
public class Account{
21+
public void make() {
22+
23+
}
24+
}
25+
```
26+
27+
28+
29+
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy