FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » simpletest vs phpunit vs ...
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: simpletest vs phpunit vs ... [message #180504 is a reply to message #180493] Fri, 22 February 2013 20:21 Go to previous messageGo to previous message
legalize+jeeves is currently offline  legalize+jeeves
Messages: 21
Registered: September 2010
Karma:
Junior Member
[Please do not mail me a copy of your followup]

"M. Strobel" <sorry_no_mail_here(at)nowhere(dot)dee> spake the secret code
<aoovl2F5f8gU1(at)mid(dot)uni-berlin(dot)de> thusly:

>>> The rule of 'more lines of comment than code' holds...
>>
>> IMO, unless you are citing sources for complex scientific computation,
>> or algorithms from a referenced source (i.e. "I took this from Knuth,
>> Art of Computer Programming, Volume II, pg. 235"), the need for
>> comments indicates that your code isn't clear enough to begin with.
>>
>> See <http://c2.com/cgi/wiki?ToNeedComments>
>>
>
> Haha. Strong words.

See also Refowler, "Refactoring" where comments as a code smell are
discussed.

The point of mentioning Knuth was simply to use AoCP as a source of
algorithms one might use in a bibliographic style citation comment.
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
The Terminals Wiki <http://terminals.classiccmp.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: unset multidimensional array element
Next Topic: php url question
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 04 19:22:26 GMT 2024

Total time taken to generate the page: 0.06157 seconds