I will give one (not exaustive) example of TDD giving better code:
Interface vs. Implementation
Writing a test to a non-existent module requires the definition of an interfaces for client code to call. The question foremost in my mind is "How ill this be used?". Writing the implementation first risks focusing on the implementation in favour of the interface. I start thinking, how do I make this work? In mature systems, callers often outweigh implementations by several orders of magnitude. So interfaces often matter more than implementations.
Geniuses who produce perfect interfaces as a consequence of their masterful implementations may not care. But I find it much easier to clean up a bad implementation 18 months later than fix 782 callers that fight with a clumsy interface.
Mixed. I think they are reasonable, and enforcable. But the general idea of controling the customer is icky.
The law does not (and should not) guarantee your marketing plans will work. If a grocery store sells milk below cost to drive traffic, and I just buy the milk, the store may not call me a thief. In fact, the doctrine of first-sale (i.e. publishers may not forbid resale of books) is an example where a court explicitly ruled that the vendors rights are very limited post-sale. Consider an analogy with the inefficiency of barter vs. money. An economy bound up in all sorts of post sale restrictions is much less able to invent, adapt, and improve.
But in the specific case of academic/personal discounts things are different:
The terms are up front -- often on the box
The terms are negotiated -- I choose which version to buy
There is compensation -- I get a reduced rate
This is very different from the average EULA which is hidden, after the fact, non-negotiable, one sided, and uncompensated.
That's why you put the air/vapor barrier on the warm side of your insulation. You need to keep it well above the dew-point of your interior air.
This house wrap non-sense is crazy. It might make sense in a rainy place, but not if you face a real winter.
Putting panties on head is torture? A naked pyramid is torture? (I've known people who have paid for more) Where are the American rape rooms? How many hands of "dissidents" has GWB cut off.
Breaking chemical lights and pouring the phosphoric liquid on detainees;
Threatening detainees with a charged 9mm pistol;
Beating detainees with a broom handle and a chair;
Threatening male detainees with rape;
Allowing a military police guard to stitch the wound of a detainee who was injured after being slammed against the wall in his cell;
Sodomizing a detainee with a chemical light and perhaps a broom stick.
Using military working dogs to frighten and intimidate detainees with threats of attack, and in one instance actually biting a detainee.
Remember: these are in a context (i.e. all Iraq) that GWB has declared the Geneva conventions apply.
All under the supervision of unamed government agencies and "private" contractors. What kind of lunatic Army outsources military intelligence? Answer -- they don't. It's all just a dodge to get the dirty deeds out from under the military code, or CIA rules.
I can't believe no one has brought up The Right To Read. I know people like to dismiss RMS as a crank, but here we are -- what seemed like paranoia becomes more true every day.
It would be nice if you made an argument - moral or otherwise. All you have done so far is make (apparently sincere) assertions. So I ask you -- please explain how comments on Slashdot keep WB/FOX/Sony from opening their vaults for itunes to sell?
I don't get you, and you seem intelligent, so this represents a learning opportunity for me. Please try to explain avoid labeling me irredeemably depraved.
Please elaborate -- your assertion doesn't make it so.
In particular: What is the "quality" that you feel distinguishes my VCR's copy from a friend's? The parent says he feels that there is no significant difference. In fact, I would take his assertion (of indistinguishability) as directly contradicting your assertion of essential difference.
Perhaps it is a difference of perspective -- I imagine that a broadcaster might feel that they were very different events. Programing my VCR requires more familiarity with their offerings that the second hand copy. But I am not a broadcaster. So, "as far as I'm concerned" there is no difference.
Not to be obtuse (or engage in Solipsism): would you spell out this un-subtle point?
Now -- we have laws, even some good ones, regarding public nuisances. But freedom of speech is nothing if limited to only those things that do not offend or disturb. Quiet acquiescence rarely needs constitutional protection.
One reason to resist the word theft when describing copyright violation is that copies do not degrade the original, while a physical theft deprives the owner of an object's use.
In contrast, identity fraud does degrade the original identity. It causes real grief in lost time, lost money, lost jobs -- possibly even criminal charges.
If I am unable to enjoy my "identity" through your use of it, theft seems an approriate word.
It already happened. Back before the web, we had some great guitar tab and lyric sites. Then the lawyers, and the September that never ended came. Another age. Sniff.
So how exactly is ObjectOutputStream supposed to do instance matching in an object graph without keeping track of the objects it has already written?
You could try to just cache the pointer values, instead of the objects, but that would fail if the GC ran, and the VM re-used those addresses. Very bad. So you need to pin those addresses.
I really sympathize ScrewMaster, but with unknown (but over a thousand) people being detained without charge, representation, or hope of trial, plus more people in prison than any other country in the world, I think you are going to have to face facts.
The US has conveniently forgotten what is stood for, and people like you are going to need to work very hard to remind it.
Some (not all) American steel mills hurting for two main reasons: global oversupply, and pension befenits. The global oversupply is tough, and some of these older mills just can't compete against some of the newer, more efficient, mills (both inside and outside the US). No one wants to take the heat for shutdowns/layoffs, so the oversupply continues.
The pension problem is the real kicker. A lot of these older mills used to have much bigger workforces, and the pension benfits include medical. It's just like the looming pension crisis faced by most of Europe, but in miniature. A permanently smaller company has rising costs for an aging population. I suppose you can consider Canadian socialised medicine a subsidy, but it is offset by correspondingly higher taxes.
I will give one (not exaustive) example of TDD giving better code:
Interface vs. Implementation
Writing a test to a non-existent module requires the definition of an interfaces for client code to call. The question foremost in my mind is "How ill this be used?". Writing the implementation first risks focusing on the implementation in favour of the interface. I start thinking, how do I make this work? In mature systems, callers often outweigh implementations by several orders of magnitude. So interfaces often matter more than implementations.
Geniuses who produce perfect interfaces as a consequence of their masterful implementations may not care. But I find it much easier to clean up a bad implementation 18 months later than fix 782 callers that fight with a clumsy interface.
The law does not (and should not) guarantee your marketing plans will work. If a grocery store sells milk below cost to drive traffic, and I just buy the milk, the store may not call me a thief. In fact, the doctrine of first-sale (i.e. publishers may not forbid resale of books) is an example where a court explicitly ruled that the vendors rights are very limited post-sale. Consider an analogy with the inefficiency of barter vs. money. An economy bound up in all sorts of post sale restrictions is much less able to invent, adapt, and improve.
But in the specific case of academic/personal discounts things are different:
- The terms are up front -- often on the box
- The terms are negotiated -- I choose which version to buy
- There is compensation -- I get a reduced rate
This is very different from the average EULA which is hidden, after the fact, non-negotiable, one sided, and uncompensated.OK?
That's why you put the air/vapor barrier on the warm side of your insulation. You need to keep it well above the dew-point of your interior air. This house wrap non-sense is crazy. It might make sense in a rainy place, but not if you face a real winter.
How about beatings and murder? http://www.washingtonpost.com/wp-dyn/content/artic le/2005/09/23/AR2005092301897.html
http://www.washingtonpost.com/wp-dyn/content/artic le/2005/08/02/AR2005080201941_pf.html
http://science.slashdot.org/comments.pl?sid=163323 &pid=13644944
Or beating him a uniformed officer for days, then smothering him to death: http://www.washingtonpost.com/wp-dyn/content/artic le/2005/08/02/AR2005080201941_pf.html
Or the stuff listed in Maj. Gen. Taguba's report:
- Breaking chemical lights and pouring the phosphoric liquid on detainees;
- Threatening detainees with a charged 9mm pistol;
- Beating detainees with a broom handle and a chair;
- Threatening male detainees with rape;
- Allowing a military police guard to stitch the wound of a detainee who was injured after being slammed against the wall in his cell;
- Sodomizing a detainee with a chemical light and perhaps a broom stick.
- Using military working dogs to frighten and intimidate detainees with threats of attack, and in one instance actually biting a detainee.
Remember: these are in a context (i.e. all Iraq) that GWB has declared the Geneva conventions apply.All under the supervision of unamed government agencies and "private" contractors. What kind of lunatic Army outsources military intelligence? Answer -- they don't. It's all just a dodge to get the dirty deeds out from under the military code, or CIA rules.
Dammit! Smug bastards like you drive me mad. You're so tough, signing off on the rough things that need to be done, without ever facing up to reality. Just google 'US' and 'torture' -- unless you believe the entire world and internet is involved in a conspiracy to smear the good name of Uncle Sam. http://www.cbc.ca/cp/world/050925/w092528.html http://www.theage.com.au/articles/2004/08/26/10934 56748705.html
http://www.newsday.com/news/opinion/ny-ophar234437 651sep23,0,6341987.story?coll=ny-viewpoints-headli nes
http://www.nwherald.com/MainSection/other/29837079 9741982.php
We don't even need to go into the torture training in Paraguay, Uraguay, and at the School of the Americas.
I can't believe no one has brought up The Right To Read. I know people like to dismiss RMS as a crank, but here we are -- what seemed like paranoia becomes more true every day.
http://www.deiryassin.org/bennymorris.html Calm horror.
It would be nice if you made an argument - moral or otherwise. All you have done so far is make (apparently sincere) assertions. So I ask you -- please explain how comments on Slashdot keep WB/FOX/Sony from opening their vaults for itunes to sell?
I don't get you, and you seem intelligent, so this represents a learning opportunity for me. Please try to explain avoid labeling me irredeemably depraved.
Please elaborate -- your assertion doesn't make it so.
In particular: What is the "quality" that you feel distinguishes my VCR's copy from a friend's? The parent says he feels that there is no significant difference. In fact, I would take his assertion (of indistinguishability) as directly contradicting your assertion of essential difference.
Perhaps it is a difference of perspective -- I imagine that a broadcaster might feel that they were very different events. Programing my VCR requires more familiarity with their offerings that the second hand copy. But I am not a broadcaster. So, "as far as I'm concerned" there is no difference.
Not to be obtuse (or engage in Solipsism): would you spell out this un-subtle point?
Now -- we have laws, even some good ones, regarding public nuisances. But freedom of speech is nothing if limited to only those things that do not offend or disturb. Quiet acquiescence rarely needs constitutional protection.
One reason to resist the word theft when describing copyright violation is that copies do not degrade the original, while a physical theft deprives the owner of an object's use.
In contrast, identity fraud does degrade the original identity. It causes real grief in lost time, lost money, lost jobs -- possibly even criminal charges.
If I am unable to enjoy my "identity" through your use of it, theft seems an approriate word.
It already happened. Back before the web, we had some great guitar tab and lyric sites. Then the lawyers, and the September that never ended came. Another age. Sniff.
So how exactly is ObjectOutputStream supposed to do instance matching in an object graph without keeping track of the objects it has already written?
You could try to just cache the pointer values, instead of the objects, but that would fail if the GC ran, and the VM re-used those addresses. Very bad. So you need to pin those addresses.
I really sympathize ScrewMaster, but with unknown (but over a thousand) people being detained without charge, representation, or hope of trial, plus more people in prison than any other country in the world, I think you are going to have to face facts.
The US has conveniently forgotten what is stood for, and people like you are going to need to work very hard to remind it.
Good luck.
But they have paid payroll taxes at 15%. This is the money being refunded.
Um, bullshit.
Some (not all) American steel mills hurting for two main reasons: global oversupply, and pension befenits. The global oversupply is tough, and some of these older mills just can't compete against some of the newer, more efficient, mills (both inside and outside the US). No one wants to take the heat for shutdowns/layoffs, so the oversupply continues.
The pension problem is the real kicker. A lot of these older mills used to have much bigger workforces, and the pension benfits include medical. It's just like the looming pension crisis faced by most of Europe, but in miniature. A permanently smaller company has rising costs for an aging population. I suppose you can consider Canadian socialised medicine a subsidy, but it is offset by correspondingly higher taxes.