Click here to Skip to main content
15,888,461 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!

 
NewsIBM and Xerox predict brain-controlled apps will head to smartphones Pin
Kent Sharkey7-Sep-15 12:06
staffKent Sharkey7-Sep-15 12:06 
NewsIs your efficiency obsession a problem? Pin
Kent Sharkey7-Sep-15 8:40
staffKent Sharkey7-Sep-15 8:40 
GeneralRe: Is your efficiency obsession a problem? Pin
PIEBALDconsult7-Sep-15 17:12
mvePIEBALDconsult7-Sep-15 17:12 
News5 Questions every unit test must answer Pin
Kent Sharkey7-Sep-15 8:37
staffKent Sharkey7-Sep-15 8:37 
GeneralRe: 5 Questions every unit test must answer PinPopular
Marc Clifton7-Sep-15 9:50
mvaMarc Clifton7-Sep-15 9:50 
GeneralRe: 5 Questions every unit test must answer Pin
Sander Rossel7-Sep-15 12:17
professionalSander Rossel7-Sep-15 12:17 
GeneralRe: 5 Questions every unit test must answer Pin
den2k887-Sep-15 21:56
professionalden2k887-Sep-15 21:56 
GeneralRe: 5 Questions every unit test must answer Pin
Sander Rossel7-Sep-15 22:58
professionalSander Rossel7-Sep-15 22:58 
den2k88 wrote:
IMHO there are 'Seniors' who heard of SOLID and Design Patterns but implement them all wrong
I've worked with a self-proclaimed senior who thought Single Responsibility Principle was equal to a class with just a single method. And if you have just a single method you don't need state either, so everything can be static...
After a vacation I once found he had 'refactored' my code into something like this:
C#
static class SomeClass
{
   static Something DoSomething(params)
   {
      //...
   }
}

static class AnotherClass
{
   static Something DoSomething(params)
   {
      //...
   }
}
Also, because all those classes had a method called DoSomething that always returned the same type and had the same parameters (that weren't always used) these classes (or rather methods) became interchangeable, making it good OO practice Laugh | :laugh:
Visit my blog at Sander's bits - Writing the code you need.
Or read my articles at my CodeProject profile.
Simplicity is prerequisite for reliability.
— Edsger W. Dijkstra
Regards,
Sander

GeneralRe: 5 Questions every unit test must answer Pin
den2k887-Sep-15 23:09
professionalden2k887-Sep-15 23:09 
GeneralRe: 5 Questions every unit test must answer Pin
Kevin McFarlane8-Sep-15 0:53
Kevin McFarlane8-Sep-15 0:53 
GeneralRe: 5 Questions every unit test must answer Pin
thatraja7-Sep-15 9:51
professionalthatraja7-Sep-15 9:51 
GeneralRe: 5 Questions every unit test must answer Pin
Duncan Edwards Jones7-Sep-15 11:31
professionalDuncan Edwards Jones7-Sep-15 11:31 
NewsHow to download the last three versions of Windows officially at no cost Pin
Kent Sharkey7-Sep-15 8:35
staffKent Sharkey7-Sep-15 8:35 
GeneralRe: How to download the last three versions of Windows officially at no cost Pin
Rob Grainger7-Sep-15 22:31
Rob Grainger7-Sep-15 22:31 
NewsKill the password Pin
Kent Sharkey7-Sep-15 8:32
staffKent Sharkey7-Sep-15 8:32 
GeneralRe: Kill the password Pin
Marc Clifton7-Sep-15 10:03
mvaMarc Clifton7-Sep-15 10:03 
GeneralRe: Kill the password Pin
den2k887-Sep-15 11:08
professionalden2k887-Sep-15 11:08 
NewsKnow your language: C rules everything around me (part one) Pin
Kent Sharkey7-Sep-15 8:30
staffKent Sharkey7-Sep-15 8:30 
GeneralRe: Know your language: C rules everything around me (part one) Pin
den2k887-Sep-15 9:41
professionalden2k887-Sep-15 9:41 
GeneralRe: Know your language: C++ rules everything around me (part one) Pin
ed welch7-Sep-15 11:34
ed welch7-Sep-15 11:34 
GeneralRe: Know your language: C++ rules everything around me (part one) Pin
Rob Grainger7-Sep-15 22:38
Rob Grainger7-Sep-15 22:38 
NewsGoogle Chrome reportedly bypassing Adblock, forces users to watch full-length video ads Pin
Kent Sharkey7-Sep-15 8:21
staffKent Sharkey7-Sep-15 8:21 
GeneralRe: Google Chrome reportedly bypassing Adblock, forces users to watch full-length video ads Pin
MehGerbil8-Sep-15 2:23
MehGerbil8-Sep-15 2:23 
GeneralRe: Google Chrome reportedly bypassing Adblock, forces users to watch full-length video ads Pin
MehGerbil8-Sep-15 2:23
MehGerbil8-Sep-15 2:23 
GeneralRe: Google Chrome reportedly bypassing Adblock, forces users to watch full-length video ads Pin
Dan Neely8-Sep-15 3:09
Dan Neely8-Sep-15 3:09 

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.