On 2013-06-20 16:46, Andrei Alexandrescu wrote:
I dislike this. I've seen conference talks and such where the speakers present the inevitable throwaway implementation that is patently wrong but makes the first unittest pass. That mindset doesn't sit well with me at all. I don't see why I need to waste time writing tongue-in-cheek code that is nonsensical and will obviously be deleted next.
Yes, I agree with you. I skip that test and write the correct implementation from the beginning. That's what I wrote in the last paragraph.
-- /Jacob Carlborg
