mdix / data-mungin-kata Goto Github PK
View Code? Open in Web Editor NEWhttp://codekata.pragprog.com/2007/01/kata_four_data_.html
http://codekata.pragprog.com/2007/01/kata_four_data_.html
07.11.2011: Ok, so I think the first part of this Kata is solved. Will start part 2 soon (now? :)). 06.11.2011: Reworked the whole thing, it's more specialized now and maps less data. I noted that it's hard to practice tdd if I use private methods and properties, so from now on I'll stay with public to test all methods. 05.11.2011: So I complained about the bad format of weather.dat because of the problems I had parsing it. But hell, I totally ignored YAGNI. Hell, I'm parsing the whole file and build an array with the whole structure, even though the job definition is just to find out the line with the smalles temperature spread. Lesson learned: YAGNI. Will rewrite the whole thing now. 04.11.2011: This method public function getDayNumberWithSmallestTemperatureSpread() {} has to be excluded from FileParser.php - it has nothing todo with parsing the file, it's processing data for a certain task. I think there should be a 'Weather' class or something.
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.