I've already started implementing it, almost done the class/method/properties parser tool. Though, I don't have much time so any help (even software design ideas) are welcome.
Implementation "Clean Code" book rules
Moderator: General Moderators
Implementation "Clean Code" book rules
I've been rereading "Clean Code" book recently, when an idea came to my mind - a tool that get's a file (ideally a single class) and check if all (or most of them) rules shown in the book are met
This tool could be used for a base refactoring guide for existing sources 
I've already started implementing it, almost done the class/method/properties parser tool. Though, I don't have much time so any help (even software design ideas) are welcome.
I've already started implementing it, almost done the class/method/properties parser tool. Though, I don't have much time so any help (even software design ideas) are welcome.
There are 10 types of people in this world, those who understand binary and those who don't
Re: Implementation "Clean Code" book rules
Is that the book that has this image towards the beginning? http://www.osnews.com/story/19266/WTFs_m
Re: Implementation "Clean Code" book rules
I haven't this picture in my book ... not sure ...
It's Robert C. Martin's book -
"Clean Code
A Handbook of Agile Software Craftsmanship"
It's Robert C. Martin's book -
"Clean Code
A Handbook of Agile Software Craftsmanship"
There are 10 types of people in this world, those who understand binary and those who don't
Re: Implementation "Clean Code" book rules
Could be done based on PHP_CodeSniffer I suppose.
Re: Implementation "Clean Code" book rules
Yep that was the one I was previewing on Amazon.VladSun wrote:I haven't this picture in my book ... not sure ...
It's Robert C. Martin's book -
"Clean Code
A Handbook of Agile Software Craftsmanship"
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Implementation "Clean Code" book rules
I don't know, but it sounds like a great idea. Certainly CodeSniffer already has the parsing part done.Weirdan wrote:Could be done based on PHP_CodeSniffer I suppose.
(#10850)