Skip to content

Files

Latest commit

 

History

History

Small Example From Google talk

Dec. 15, 2015

Julia works on the code based on the talk:

Talk: Clean code

blog: the clean code talks

The implementation is not naive version, see the implementation: Conditional version C sharp

instead, OpNode and ValueNode are designed to bring in polymorphism. Good pratice: Node (better called: AbstractNode, differentiate from Node), OpNode, ValueNode

The blogs are here to document the practice.

Julia put together C# code based on clean code talk, and also wrote a blog titled Object-oriented principle: solid principles, open-close principle in Dec. 2015.

Sept. 7, 2018

Add a new folder with those three examples, one is conditional version, naive one, break Single responsiblity principle; second one is to separate OpNode and ValueNode; third one is to apply polymorphic solution, for each operator, there is one class for the operator.