kirokuan / bookpricecomputation Goto Github PK
View Code? Open in Web Editor NEWfor tdd practice
for tdd practice
tail recursion 的設計很漂亮,最後的 production code 很乾淨,拍拍手!
從 commit 的過程看起來重構的方向有一直在調整跟改變,代表你不斷地在檢視自己的程式碼還有哪些可改善的空間。
使用 override Equals() 跟 Comparer for Distinct() 也很正規。這一段建議可以改用 GroupBy() 的路線試試看。remove 的部分則用 LINQ 原生的 Except()
, 或許也可以讓 production code 撰寫的數量減少。(參考:https://github.com/pursuitofhappiness2017/TDDHomeworkDay2,他的 production code 沒有你漂亮,因為還有重構空間,但 commit history 跟 simple design 的部分,不遑多讓,參考看看。)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.