IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Side note on Unit Testing
- unit tests are needed too much. I love unit testing, but in Smalltalk unit tests are needed for things that a strong-typed language would verify compilation-time.

Really? I do a fair amount of TDD programming in both Java and Ruby, and I write about the same number of unit tests in either language.
--
-- Jim Weirich jim@weirichhouse.org [link|http://onestepback.org|http://onestepback.org]
---------------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
New Ditto, but s/Ruby/Python
Unit testing may point out a few typing failures, but there aren't any more tests required because of it.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New I write more in Smalltalk
And the method unit tests are frequently found as a one line comment of the method that you just select and "inspect it" or "debug it".

OTOH, I don't do a lot of SUnit testing (should probably do more) because its a drag to go make the subclass and build the methods and write the asserts, etc.

One day, there will be some nifty tool that will take these comments and make them into proper SUnit classes. But not today.

OTOH, I really like coding in the debugger.



"Whenever you find you are on the side of the majority, it is time to pause and reflect"   --Mark Twain

"The significant problems we face cannot be solved at the same level of thinking we were at when we created them."   --Albert Einstein

"This is still a dangerous world. It's a world of madmen and uncertainty and potential mental losses."   --George W. Bush
     So what is wrong with your favorite language? - (JayMehaffey) - (22)
         The ones I get to code in? Or the ones I'd actully want to? -NT - (Arkadiy) - (5)
             You pick -NT - (tuberculosis) - (4)
                 Well then, I'd nominate Smalltalk - (Arkadiy) - (3)
                     Side note on Unit Testing - (JimWeirich) - (2)
                         Ditto, but s/Ruby/Python - (admin)
                         I write more in Smalltalk - (tuberculosis)
         I think that context is a horrible idea in Perl - (ben_tilly)
         I suspect many of my opinions are well known - (tuberculosis)
         Way too early for my candidate - (ChrisR)
         Positional, limited variable names and booleans - (imric) - (2)
             Agreed - (SpiceWare)
             OK, explain the cycle to the ignorant masses here (new thread) - (tuberculosis)
         Python... - (admin) - (3)
             Closures are being removed? -NT - (FuManChu) - (2)
                 Lambdas, actually. - (admin) - (1)
                     Yes; that bites. - (FuManChu)
         I can empathise about PHP. - (static)
         Nested hash notation in Perl. - (pwhysall) - (4)
             Naw. - (broomberg) - (3)
                 Ick. -NT - (pwhysall)
                 Compare to Ruby - (ben_tilly) - (1)
                     Which is pretty much the same as Python - (admin)

After personal optimization sets in, you have a population with very few abilities and a great many needs.
92 ms