1
vote
Vote UpVote

Stress Calculator For A (Delphi) Programmer

About Delphi Programming – in Coding Errors ::I love the comment Robert Oschler left to my D'oh! Those Negative Boolean AND Bitwise Expressions :(. // by Robert Oschler function StressLevelInProgramming : extended; begin // the constant 0.001 was added to the Max() function in the denominator // because once the number of hours left on the project is less than 1, // the programmer's stress/pain approaches infinity asymptotically. // And to avoid a divide by zero Exception of course. result := AbsDistance(intendedFunction, actualFunction) * (1 / Max(NumHoursTillDeadline, 0.001)); end; Have you noticed how ...
Favorite? Off-Topic? 2011-10-28 05:47

Statistics

Visits: 822
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

TDelphiHobbyist
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)