Skip to content

Commit 99472e6

Browse files
committed
Minor improvements
1 parent 0d4c3ea commit 99472e6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ How
9595

9696
* Put business rules, long expressions, if statements, math formulas, metadata, etc. in only one place.
9797
* Identify the single, definitive source of every piece of knowledge used in your system, and then use that source to generate applicable instances of that knowledge (code, documentation, tests, etc).
98-
* Apply the [Rule of three](http://en.wikipedia.org/wiki/Rule_of_three_(computer_programming))
98+
* Apply the [Rule of three](http://en.wikipedia.org/wiki/Rule_of_three_(computer_programming)).
9999

100100
Resources
101101

@@ -122,7 +122,7 @@ How
122122
* Always code as if the person who ends up maintaining your code is a violent psychopath who knows where you live.
123123
* Always code and comment in such a way that if someone a few notches junior picks up the code, they will take pleasure in reading and learning from it.
124124
* [Don't make me think](http://www.sensible.com/dmmt.html).
125-
* Use the [PLA](http://en.wikipedia.org/wiki/Principle_of_least_astonishment) (Principle of Least Astonishment).
125+
* Use the [Principle of Least Astonishment](http://en.wikipedia.org/wiki/Principle_of_least_astonishment).
126126

127127
Resources
128128

@@ -166,7 +166,7 @@ How
166166

167167
* Eliminate, minimise, and reduce complexity of necessary relationships.
168168
* By hiding implementation details, coupling is reduced.
169-
* Apply the Law of Demeter.
169+
* Apply the [Law of Demeter](#law-of-demeter).
170170

171171
Resources
172172

@@ -184,7 +184,8 @@ Why
184184

185185
How
186186

187-
* A method of an object may only call methods of:
187+
A method of an object may only call methods of:
188+
188189
1. The object itself.
189190
1. An argument of the method.
190191
1. Any object created within the method.
@@ -215,12 +216,11 @@ Resources
215216

216217
> The basic idea of orthogonality is that things that are not related conceptually should not be related in the system.
217218
218-
> It is associated with simplicity; the more orthogonal the design, the fewer exceptions. This makes it easier to learn, read and write programs in a programming language. The meaning of an orthogonal feature is independent of context; the key parameters are symmetry and consistency.
219+
Source: [Be Orthogonal](http://www.artima.com/intv/dry3.html)
219220

220-
Resources
221+
> It is associated with simplicity; the more orthogonal the design, the fewer exceptions. This makes it easier to learn, read and write programs in a programming language. The meaning of an orthogonal feature is independent of context; the key parameters are symmetry and consistency.
221222
222-
* [Be Orthogonal](http://www.artima.com/intv/dry3.html)
223-
* [Orthogonality](http://en.wikipedia.org/wiki/Orthogonality_(programming))
223+
Source: [Orthogonality](http://en.wikipedia.org/wiki/Orthogonality_(programming))
224224

225225
## Maximise Cohesion
226226

@@ -282,7 +282,7 @@ Why
282282

283283
How
284284

285-
* Apply [Curly's Law](#Curly-s-Law)
285+
* Apply [Curly's Law](#Curly-s-Law).
286286

287287
Resources
288288

0 commit comments

Comments
 (0)