Skip to content

Commit 123da5c

Browse files
authored
Update README.md
1 parent 7429be4 commit 123da5c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ Best practices in Coding, Designing and Architecting Java Applications
1818
- Next question is how to approach a Code Review. Difficult to cover everything. I would make a start. When doing a code review, I start with static analysis results (for example, sonar). I spend 10 minutes getting an overview of components and/or layers (focusing on size and dependencies). Next I would pick up a unit test for a complex functionality. I feel unit tests are the best place to discover the dependencies and naming practices (I believe good names = 50% of maintainable code). If a programmer can write a simple and understandable unit test, he can definitely write good code. Next, I look for 4 principles of Simple Design. After this, there are 100 other things we can look for - You decide.
1919
- PDF - https://www.mindmup.com/#m:a1972695706ab201340d4b0beac29b8bfc
2020

21+
## Security
22+
Hmmm... Should I really explain the importance of Security?
23+
https://www.mindmup.com/#m:g10B8KENIDghuHAWTRsUERvVzUxZTA
24+
2125
## Performance
2226

2327
- First and Foremost - NO premature optimizations. Any optimization decision should be based on numbers or past experience. In Donald Knuth's paper "Structured Programming With GoTo Statements", he wrote: "Programmers waste enormous amounts of time thinking about, or worrying about, the speed of non critical parts of their programs, and these attempts at efficiency actually have a strong negative impact when debugging and maintenance are considered. We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%."

0 commit comments

Comments
 (0)