Click here to Skip to main content
15,879,613 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
NewsGolfing robot uses physics-based model to train its AI system Pin
Kent Sharkey28-Nov-22 11:46
staffKent Sharkey28-Nov-22 11:46 
GeneralRe: Golfing robot uses physics-based model to train its AI system Pin
MarkTJohnson29-Nov-22 7:43
professionalMarkTJohnson29-Nov-22 7:43 
News5.4 million Twitter users' stolen data leaked online — more shared privately Pin
Kent Sharkey28-Nov-22 9:01
staffKent Sharkey28-Nov-22 9:01 
GeneralRe: 5.4 million Twitter users' stolen data leaked online — more shared privately Pin
David O'Neil28-Nov-22 9:44
professionalDavid O'Neil28-Nov-22 9:44 
GeneralRe: 5.4 million Twitter users' stolen data leaked online — more shared privately Pin
den2k8828-Nov-22 20:33
professionalden2k8828-Nov-22 20:33 
GeneralRe: 5.4 million Twitter users' stolen data leaked online — more shared privately Pin
obermd30-Nov-22 3:54
obermd30-Nov-22 3:54 
NewsThe (some) fallacies of Test First Development Pin
Kent Sharkey28-Nov-22 9:01
staffKent Sharkey28-Nov-22 9:01 
GeneralRe: The (some) fallacies of Test First Development PinPopular
Matthew Dennis28-Nov-22 10:45
sysadminMatthew Dennis28-Nov-22 10:45 
This article makes the common mistake that tests are Unit Test, or tests of small pieces of code.
With Test First, the first tests you write should be at the Specification or Requirements level.
Tools such as SpecFlow and Cucumber are great ways to do this.

Then, as you start to start creating things to implement the requirements, you add tests for the sub-requirements being implemented. Then write just enough code to make the tests work. I have found that I write around half the code, and complete projects in 1/3 to 1/2 the time as colleagues who just start coding. Writing high level tests forces you to get a better understanding of what you are going to implement without getting sidetracked by coding and implementation details.

Also, if requirements change, you change the relevant tests, and fix the ones that no longer pass.

In many cases, you don't need to test the low-level methods and classes if the higher-level requirements/tests cover the full functionality, error-handling, and edge cases.

In reality, who cares how the code is implemented if it meets the requirements. In fact, by not testing the actual methods, it much easier to refactor and re-architect a code base.

Remember, job is not to write code, but to implement required functionality and quality, as defined by the project/customer/contract.
"Time flies like an arrow. Fruit flies like a banana."

NewsA tour of 4 MSVC backend improvements Pin
Kent Sharkey28-Nov-22 8:46
staffKent Sharkey28-Nov-22 8:46 
NewsAWS releases Wickr, its encrypted messaging service for enterprises Pin
Kent Sharkey28-Nov-22 8:31
staffKent Sharkey28-Nov-22 8:31 
NewsA new wave of analyzers in .NET 8 Pin
Kent Sharkey28-Nov-22 8:01
staffKent Sharkey28-Nov-22 8:01 
NewsTips for developers when you find yourself getting stuck Pin
Kent Sharkey28-Nov-22 8:01
staffKent Sharkey28-Nov-22 8:01 
GeneralRe: Tips for developers when you find yourself getting stuck Pin
Nelek28-Nov-22 11:54
protectorNelek28-Nov-22 11:54 
GeneralRe: Tips for developers when you find yourself getting stuck Pin
BillWoodruff28-Nov-22 20:29
professionalBillWoodruff28-Nov-22 20:29 
NewsMeta fined $276 million over Facebook data leak involving more than 533 million users Pin
Kent Sharkey28-Nov-22 7:46
staffKent Sharkey28-Nov-22 7:46 
GeneralRe: Meta fined $276 million over Facebook data leak involving more than 533 million users Pin
Nelek28-Nov-22 11:52
protectorNelek28-Nov-22 11:52 
GeneralRe: Meta fined $276 million over Facebook data leak involving more than 533 million users Pin
Greg Utas28-Nov-22 12:32
professionalGreg Utas28-Nov-22 12:32 
GeneralRe: Meta fined $276 million over Facebook data leak involving more than 533 million users Pin
abmv29-Nov-22 6:20
professionalabmv29-Nov-22 6:20 
NewsJetBrains previews Aqua, new test automation-oriented IDE Pin
Kent Sharkey27-Nov-22 10:31
staffKent Sharkey27-Nov-22 10:31 
NewsExclusive-EU antitrust regulators ramp up Microsoft scrutiny, probe likely - sources Pin
Kent Sharkey27-Nov-22 10:31
staffKent Sharkey27-Nov-22 10:31 
GeneralRe: Exclusive-EU antitrust regulators ramp up Microsoft scrutiny, probe likely - sources Pin
Dan Neely28-Nov-22 10:50
Dan Neely28-Nov-22 10:50 
GeneralRe: Exclusive-EU antitrust regulators ramp up Microsoft scrutiny, probe likely - sources Pin
MarkTJohnson29-Nov-22 1:59
professionalMarkTJohnson29-Nov-22 1:59 
GeneralRe: Exclusive-EU antitrust regulators ramp up Microsoft scrutiny, probe likely - sources Pin
Dan Neely29-Nov-22 4:18
Dan Neely29-Nov-22 4:18 
GeneralRe: Exclusive-EU antitrust regulators ramp up Microsoft scrutiny, probe likely - sources Pin
obermd29-Nov-22 5:59
obermd29-Nov-22 5:59 
GeneralRe: Exclusive-EU antitrust regulators ramp up Microsoft scrutiny, probe likely - sources Pin
Daniel Pfeffer29-Nov-22 5:50
professionalDaniel Pfeffer29-Nov-22 5:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.