Study the code on pluralsight.com. The course is called "Clean code: Writing code for Humans".
Read the article on pluralsight.com. "7 reasons clean code matters" article is here to read.
Take some notes here.
11:13 pm, 5/29/2017
The course is released on Oct. 7, 2013. It is always on time!
Julia, it is always better to learn coding styles, principles first and then practice leetcode algorithms.
Cory House - the lecturer of the course's website is here.
assign booleans implicitly (Julia's favorite rating: 7 out of 10)
- 3 good reasons to create a function (10 out of 10)
convey intent, eliminate excessive indentation, avoid duplication
problem with zombie code
Boundaries matter - (Julia's rating: 9 out of 10)
html in JS string,
inline Styles (css and html),
Dynamic SQL in C# strings
Stay native - advantages (Julia's favorite ranking 9 out of 10)
2. Code colored
3. Syntax checked
4. Separation of concerns
6. Avoids string parsing
7. Can minify & obfuscate
Maximize signal to noise ratio (Excellent concept!)
Logic that follows the TED rules:
Do one thing
High cyclomatic complexity
poorly named structures
no white space
Well written code is self-documenting.
Layers of abstractions
Format for readability
Favor code over comments
Discussion topic - excessive indentation: solutions
Mayfly variable - just in time
June 5, 2017 11:00 pm - 11:53 pm
Demo 42 minutes
Bug Fix: What a contrast (Julia's rating: 10 out of 10)
Do One Thing
Watch the lecture titled "Clean Code"
July 29, 2017 10:30 pm - 11:30 pm
Go over the lecture video again
Terse, expressive, do one thing
Don't repeat yourself
How to write Self-document code?
layers of abstraction